123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- <?php
- use Doctrine\ORM\Mapping as ORM;
- /**
- * EntityCForumAttachment
- *
- * @Table(name="c_forum_attachment")
- * @Entity
- */
- class EntityCForumAttachment
- {
- /**
- * @var integer
- *
- * @Column(name="c_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="NONE")
- */
- private $cId;
- /**
- * @var integer
- *
- * @Column(name="id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="NONE")
- */
- private $id;
- /**
- * @var string
- *
- * @Column(name="path", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
- */
- private $path;
- /**
- * @var string
- *
- * @Column(name="comment", type="text", precision=0, scale=0, nullable=true, unique=false)
- */
- private $comment;
- /**
- * @var integer
- *
- * @Column(name="size", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $size;
- /**
- * @var integer
- *
- * @Column(name="post_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $postId;
- /**
- * @var string
- *
- * @Column(name="filename", type="string", length=255, precision=0, scale=0, nullable=false, unique=false)
- */
- private $filename;
- /**
- * Set cId
- *
- * @param integer $cId
- * @return EntityCForumAttachment
- */
- public function setCId($cId)
- {
- $this->cId = $cId;
- return $this;
- }
- /**
- * Get cId
- *
- * @return integer
- */
- public function getCId()
- {
- return $this->cId;
- }
- /**
- * Set id
- *
- * @param integer $id
- * @return EntityCForumAttachment
- */
- public function setId($id)
- {
- $this->id = $id;
- return $this;
- }
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set path
- *
- * @param string $path
- * @return EntityCForumAttachment
- */
- public function setPath($path)
- {
- $this->path = $path;
- return $this;
- }
- /**
- * Get path
- *
- * @return string
- */
- public function getPath()
- {
- return $this->path;
- }
- /**
- * Set comment
- *
- * @param string $comment
- * @return EntityCForumAttachment
- */
- public function setComment($comment)
- {
- $this->comment = $comment;
- return $this;
- }
- /**
- * Get comment
- *
- * @return string
- */
- public function getComment()
- {
- return $this->comment;
- }
- /**
- * Set size
- *
- * @param integer $size
- * @return EntityCForumAttachment
- */
- public function setSize($size)
- {
- $this->size = $size;
- return $this;
- }
- /**
- * Get size
- *
- * @return integer
- */
- public function getSize()
- {
- return $this->size;
- }
- /**
- * Set postId
- *
- * @param integer $postId
- * @return EntityCForumAttachment
- */
- public function setPostId($postId)
- {
- $this->postId = $postId;
- return $this;
- }
- /**
- * Get postId
- *
- * @return integer
- */
- public function getPostId()
- {
- return $this->postId;
- }
- /**
- * Set filename
- *
- * @param string $filename
- * @return EntityCForumAttachment
- */
- public function setFilename($filename)
- {
- $this->filename = $filename;
- return $this;
- }
- /**
- * Get filename
- *
- * @return string
- */
- public function getFilename()
- {
- return $this->filename;
- }
- }
|