Skip to content

Commit

Permalink
schema
Browse files Browse the repository at this point in the history
  • Loading branch information
wesolowski committed Mar 21, 2020
1 parent db2cfb5 commit 3e624d9
Show file tree
Hide file tree
Showing 9 changed files with 1,044 additions and 140 deletions.
289 changes: 289 additions & 0 deletions message_info/NumberAPIDataProvider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,289 @@
<?php
declare(strict_types=1);
namespace MessageInfo;

/**
* Auto generated data provider
*/
final class NumberAPIDataProvider extends \Xervice\DataProvider\Business\Model\DataProvider\AbstractDataProvider implements \Xervice\DataProvider\Business\Model\DataProvider\DataProviderInterface
{
/** @var int */
protected $doctorId;

/** @var string */
protected $number;

/** @var string */
protected $creationDate;

/** @var string */
protected $modifiedStateDate;

/** @var bool */
protected $status;


/**
* @return int
*/
public function getDoctorId(): int
{
return $this->doctorId;
}


/**
* @param int $doctorId
* @return NumberAPIDataProvider
*/
public function setDoctorId(int $doctorId)
{
$this->doctorId = $doctorId;

return $this;
}


/**
* @return NumberAPIDataProvider
*/
public function unsetDoctorId()
{
$this->doctorId = null;

return $this;
}


/**
* @return bool
*/
public function hasDoctorId()
{
return ($this->doctorId !== null && $this->doctorId !== []);
}


/**
* @return string
*/
public function getNumber(): string
{
return $this->number;
}


/**
* @param string $number
* @return NumberAPIDataProvider
*/
public function setNumber(string $number)
{
$this->number = $number;

return $this;
}


/**
* @return NumberAPIDataProvider
*/
public function unsetNumber()
{
$this->number = null;

return $this;
}


/**
* @return bool
*/
public function hasNumber()
{
return ($this->number !== null && $this->number !== []);
}


/**
* @return string
*/
public function getCreationDate(): string
{
return $this->creationDate;
}


/**
* @param string $creationDate
* @return NumberAPIDataProvider
*/
public function setCreationDate(string $creationDate)
{
$this->creationDate = $creationDate;

return $this;
}


/**
* @return NumberAPIDataProvider
*/
public function unsetCreationDate()
{
$this->creationDate = null;

return $this;
}


/**
* @return bool
*/
public function hasCreationDate()
{
return ($this->creationDate !== null && $this->creationDate !== []);
}


/**
* @return string
*/
public function getModifiedStateDate(): ?string
{
return $this->modifiedStateDate;
}


/**
* @param string $modifiedStateDate
* @return NumberAPIDataProvider
*/
public function setModifiedStateDate(?string $modifiedStateDate = null)
{
$this->modifiedStateDate = $modifiedStateDate;

return $this;
}


/**
* @return NumberAPIDataProvider
*/
public function unsetModifiedStateDate()
{
$this->modifiedStateDate = null;

return $this;
}


/**
* @return bool
*/
public function hasModifiedStateDate()
{
return ($this->modifiedStateDate !== null && $this->modifiedStateDate !== []);
}


/**
* @return bool
*/
public function getStatus(): ?bool
{
return $this->status;
}


/**
* @param bool $status
* @return NumberAPIDataProvider
*/
public function setStatus(?bool $status = null)
{
$this->status = $status;

return $this;
}


/**
* @return NumberAPIDataProvider
*/
public function unsetStatus()
{
$this->status = null;

return $this;
}


/**
* @return bool
*/
public function hasStatus()
{
return ($this->status !== null && $this->status !== []);
}


/**
* @return array
*/
protected function getElements(): array
{
return array (
'doctorId' =>
array (
'name' => 'doctorId',
'allownull' => false,
'default' => '',
'type' => 'int',
'is_collection' => false,
'is_dataprovider' => false,
'isCamelCase' => false,
),
'number' =>
array (
'name' => 'number',
'allownull' => false,
'default' => '',
'type' => 'string',
'is_collection' => false,
'is_dataprovider' => false,
'isCamelCase' => false,
),
'creationDate' =>
array (
'name' => 'creationDate',
'allownull' => false,
'default' => '',
'type' => 'string',
'is_collection' => false,
'is_dataprovider' => false,
'isCamelCase' => false,
),
'modifiedStateDate' =>
array (
'name' => 'modifiedStateDate',
'allownull' => true,
'default' => '',
'type' => 'string',
'is_collection' => false,
'is_dataprovider' => false,
'isCamelCase' => false,
),
'status' =>
array (
'name' => 'status',
'allownull' => true,
'default' => '',
'type' => 'bool',
'is_collection' => false,
'is_dataprovider' => false,
'isCamelCase' => false,
),
);
}
}
Loading

0 comments on commit 3e624d9

Please sign in to comment.