123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- <?php
- namespace Entity;
- use Doctrine\ORM\Mapping as ORM;
- /**
- *
- * @license see /license.txt
- * @author autogenerated
- */
- class Message extends \Entity
- {
- /**
- * @return \Entity\Repository\MessageRepository
- */
- public static function repository(){
- return \Entity\Repository\MessageRepository::instance();
- }
- /**
- * @return \Entity\Message
- */
- public static function create(){
- return new self();
- }
- /**
- * @var bigint $id
- */
- protected $id;
- /**
- * @var integer $user_sender_id
- */
- protected $user_sender_id;
- /**
- * @var integer $user_receiver_id
- */
- protected $user_receiver_id;
- /**
- * @var boolean $msg_status
- */
- protected $msg_status;
- /**
- * @var datetime $send_date
- */
- protected $send_date;
- /**
- * @var string $title
- */
- protected $title;
- /**
- * @var text $content
- */
- protected $content;
- /**
- * @var integer $group_id
- */
- protected $group_id;
- /**
- * @var integer $parent_id
- */
- protected $parent_id;
- /**
- * @var datetime $update_date
- */
- protected $update_date;
- /**
- * Get id
- *
- * @return bigint
- */
- public function get_id()
- {
- return $this->id;
- }
- /**
- * Set user_sender_id
- *
- * @param integer $value
- * @return Message
- */
- public function set_user_sender_id($value)
- {
- $this->user_sender_id = $value;
- return $this;
- }
- /**
- * Get user_sender_id
- *
- * @return integer
- */
- public function get_user_sender_id()
- {
- return $this->user_sender_id;
- }
- /**
- * Set user_receiver_id
- *
- * @param integer $value
- * @return Message
- */
- public function set_user_receiver_id($value)
- {
- $this->user_receiver_id = $value;
- return $this;
- }
- /**
- * Get user_receiver_id
- *
- * @return integer
- */
- public function get_user_receiver_id()
- {
- return $this->user_receiver_id;
- }
- /**
- * Set msg_status
- *
- * @param boolean $value
- * @return Message
- */
- public function set_msg_status($value)
- {
- $this->msg_status = $value;
- return $this;
- }
- /**
- * Get msg_status
- *
- * @return boolean
- */
- public function get_msg_status()
- {
- return $this->msg_status;
- }
- /**
- * Set send_date
- *
- * @param datetime $value
- * @return Message
- */
- public function set_send_date($value)
- {
- $this->send_date = $value;
- return $this;
- }
- /**
- * Get send_date
- *
- * @return datetime
- */
- public function get_send_date()
- {
- return $this->send_date;
- }
- /**
- * Set title
- *
- * @param string $value
- * @return Message
- */
- public function set_title($value)
- {
- $this->title = $value;
- return $this;
- }
- /**
- * Get title
- *
- * @return string
- */
- public function get_title()
- {
- return $this->title;
- }
- /**
- * Set content
- *
- * @param text $value
- * @return Message
- */
- public function set_content($value)
- {
- $this->content = $value;
- return $this;
- }
- /**
- * Get content
- *
- * @return text
- */
- public function get_content()
- {
- return $this->content;
- }
- /**
- * Set group_id
- *
- * @param integer $value
- * @return Message
- */
- public function set_group_id($value)
- {
- $this->group_id = $value;
- return $this;
- }
- /**
- * Get group_id
- *
- * @return integer
- */
- public function get_group_id()
- {
- return $this->group_id;
- }
- /**
- * Set parent_id
- *
- * @param integer $value
- * @return Message
- */
- public function set_parent_id($value)
- {
- $this->parent_id = $value;
- return $this;
- }
- /**
- * Get parent_id
- *
- * @return integer
- */
- public function get_parent_id()
- {
- return $this->parent_id;
- }
- /**
- * Set update_date
- *
- * @param datetime $value
- * @return Message
- */
- public function set_update_date($value)
- {
- $this->update_date = $value;
- return $this;
- }
- /**
- * Get update_date
- *
- * @return datetime
- */
- public function get_update_date()
- {
- return $this->update_date;
- }
- }
|