123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- <?php
- use Doctrine\ORM\Mapping as ORM;
- /**
- * EntityCBlogRating
- *
- * @Table(name="c_blog_rating")
- * @Entity
- */
- class EntityCBlogRating
- {
- /**
- * @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="rating_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- * @Id
- * @GeneratedValue(strategy="NONE")
- */
- private $ratingId;
- /**
- * @var integer
- *
- * @Column(name="blog_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $blogId;
- /**
- * @var string
- *
- * @Column(name="rating_type", type="string", precision=0, scale=0, nullable=false, unique=false)
- */
- private $ratingType;
- /**
- * @var integer
- *
- * @Column(name="item_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $itemId;
- /**
- * @var integer
- *
- * @Column(name="user_id", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $userId;
- /**
- * @var integer
- *
- * @Column(name="rating", type="integer", precision=0, scale=0, nullable=false, unique=false)
- */
- private $rating;
- /**
- * Set cId
- *
- * @param integer $cId
- * @return EntityCBlogRating
- */
- public function setCId($cId)
- {
- $this->cId = $cId;
- return $this;
- }
- /**
- * Get cId
- *
- * @return integer
- */
- public function getCId()
- {
- return $this->cId;
- }
- /**
- * Set ratingId
- *
- * @param integer $ratingId
- * @return EntityCBlogRating
- */
- public function setRatingId($ratingId)
- {
- $this->ratingId = $ratingId;
- return $this;
- }
- /**
- * Get ratingId
- *
- * @return integer
- */
- public function getRatingId()
- {
- return $this->ratingId;
- }
- /**
- * Set blogId
- *
- * @param integer $blogId
- * @return EntityCBlogRating
- */
- public function setBlogId($blogId)
- {
- $this->blogId = $blogId;
- return $this;
- }
- /**
- * Get blogId
- *
- * @return integer
- */
- public function getBlogId()
- {
- return $this->blogId;
- }
- /**
- * Set ratingType
- *
- * @param string $ratingType
- * @return EntityCBlogRating
- */
- public function setRatingType($ratingType)
- {
- $this->ratingType = $ratingType;
- return $this;
- }
- /**
- * Get ratingType
- *
- * @return string
- */
- public function getRatingType()
- {
- return $this->ratingType;
- }
- /**
- * Set itemId
- *
- * @param integer $itemId
- * @return EntityCBlogRating
- */
- public function setItemId($itemId)
- {
- $this->itemId = $itemId;
- return $this;
- }
- /**
- * Get itemId
- *
- * @return integer
- */
- public function getItemId()
- {
- return $this->itemId;
- }
- /**
- * Set userId
- *
- * @param integer $userId
- * @return EntityCBlogRating
- */
- public function setUserId($userId)
- {
- $this->userId = $userId;
- return $this;
- }
- /**
- * Get userId
- *
- * @return integer
- */
- public function getUserId()
- {
- return $this->userId;
- }
- /**
- * Set rating
- *
- * @param integer $rating
- * @return EntityCBlogRating
- */
- public function setRating($rating)
- {
- $this->rating = $rating;
- return $this;
- }
- /**
- * Get rating
- *
- * @return integer
- */
- public function getRating()
- {
- return $this->rating;
- }
- }
|