123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- <?php
- use Doctrine\ORM\Mapping as ORM;
- /**
- * EntitySystemTemplate
- *
- * @Table(name="system_template")
- * @Entity
- */
- class EntitySystemTemplate
- {
- /**
- * @var integer
- *
- * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="IDENTITY")
- */
- private $id;
- /**
- * @var string
- *
- * @Column(name="title", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
- */
- private $title;
- /**
- * @var string
- *
- * @Column(name="comment", type="text", precision=0, scale=0, nullable=false, unique=false)
- */
- private $comment;
- /**
- * @var string
- *
- * @Column(name="image", type="string", length=250, precision=0, scale=0, nullable=false, unique=false)
- */
- private $image;
- /**
- * @var string
- *
- * @Column(name="content", type="text", precision=0, scale=0, nullable=false, unique=false)
- */
- private $content;
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set title
- *
- * @param string $title
- * @return EntitySystemTemplate
- */
- public function setTitle($title)
- {
- $this->title = $title;
- return $this;
- }
- /**
- * Get title
- *
- * @return string
- */
- public function getTitle()
- {
- return $this->title;
- }
- /**
- * Set comment
- *
- * @param string $comment
- * @return EntitySystemTemplate
- */
- public function setComment($comment)
- {
- $this->comment = $comment;
- return $this;
- }
- /**
- * Get comment
- *
- * @return string
- */
- public function getComment()
- {
- return $this->comment;
- }
- /**
- * Set image
- *
- * @param string $image
- * @return EntitySystemTemplate
- */
- public function setImage($image)
- {
- $this->image = $image;
- return $this;
- }
- /**
- * Get image
- *
- * @return string
- */
- public function getImage()
- {
- return $this->image;
- }
- /**
- * Set content
- *
- * @param string $content
- * @return EntitySystemTemplate
- */
- public function setContent($content)
- {
- $this->content = $content;
- return $this;
- }
- /**
- * Get content
- *
- * @return string
- */
- public function getContent()
- {
- return $this->content;
- }
- }
|