Source of file BaseEntity.php
Size: 0,596 Bytes - Last Modified: 2020-10-24T02:46:31+00:00
/home/travis/build/NextDom/nextdom-core/src/Model/Entity/Parents/BaseEntity.php
123456789101112131415161718192021222324252627282930313233343536 | <?php namespace NextDom\Model\Entity\Parents; abstract class BaseEntity extends BaseModel { const TABLE_NAME = ''; /** * @var integer * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="IDENTITY") */ protected $id; /** * @return int */ public function getId() { return $this->id; } /** * @param $_id * @return $this */ public function setId($_id) { $this->updateChangeState($this->id, $_id); $this->id = $_id; return $this; } } |