src/project/OfficeBrain/CustomBundle/CmsBundle/Entity/CmsFlashMessageMaster.php line 18

Open in your IDE?
  1. <?php
  2. namespace App\project\OfficeBrain\CustomBundle\CmsBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as GEDMO;
  5. use Symfony\Component\Validator\Constraints as Assert;
  6. use Doctrine\Common\Collections\ArrayCollection;
  7. /**
  8.  * CmsFlashMessageMaster
  9.  *
  10.  * @ORM\Table("tbl_cms_flash_message_master")
  11.  * @ORM\Entity(repositoryClass="App\project\OfficeBrain\CustomBundle\CmsBundle\Entity\CmsFlashMessageMasterRepository")
  12.  * @Gedmo\SoftDeleteable(fieldName="deletedAt", timeAware=false)
  13.  */
  14. class CmsFlashMessageMaster
  15. {
  16.     const STATUS_ACTIVE 1;
  17.     
  18.     /**
  19.      * @var integer
  20.      *
  21.      * @ORM\Column(name="id", type="integer")
  22.      * @ORM\Id
  23.      * @ORM\GeneratedValue(strategy="AUTO")
  24.      */
  25.     private $id;
  26.     
  27.     /**
  28.      * @var integer
  29.      *
  30.      * @ORM\Column(name="language_id", type="integer")
  31.      */
  32.     private $languageId;
  33.     
  34.     /**
  35.      * @var string
  36.      *
  37.      * @ORM\Column(name="flash_message_content", type="text", nullable=true)
  38.      */
  39.     private $flashMessageContent;
  40.     
  41.     /**
  42.      * @var integer
  43.      *
  44.      * @ORM\Column(name="instance_id", type="integer", nullable=true)
  45.      */
  46.     private $instanceId;
  47.     /**
  48.      * @var string
  49.      *
  50.      * @ORM\Column(name="instance_type", type="string", length=255, nullable=true)
  51.      */
  52.     private $instanceType;
  53.     /**
  54.      * @var integer
  55.      *
  56.      * @ORM\Column(name="country_id", type="integer", nullable=true)
  57.      */
  58.     private $countryId;
  59.     /**
  60.      * @var integer
  61.      *
  62.      * @ORM\Column(name="status", type="boolean", nullable=false)
  63.      */
  64.     private $status self::STATUS_ACTIVE;
  65.     /**
  66.      * @var integer
  67.      *
  68.      * @ORM\Column(name="created_uid", type="integer", nullable=true)
  69.      */
  70.     private $createdUid;
  71.     /**
  72.      * @var integer
  73.      *
  74.      * @ORM\Column(name="updated_uid", type="integer", nullable=true)
  75.      */
  76.     private $updatedUid;
  77.     /**
  78.      * @var integer
  79.      *
  80.      * @ORM\Column(name="deleted_uid", type="integer", nullable=true)
  81.      */
  82.     private $deletedUid;
  83.     /**
  84.      * @var \DateTime
  85.      *
  86.      * @ORM\Column(name="created_at", type="datetime", nullable=true)
  87.      */
  88.     private $createdAt;
  89.     /**
  90.      * @var \DateTime
  91.      *
  92.      * @Gedmo\Timestampable(on="create")
  93.      * @ORM\Column(name="updated_at", type="datetime", nullable=true)
  94.      */
  95.     private $updatedAt;
  96.     /**
  97.      * @var \DateTime
  98.      *
  99.      * @ORM\Column(name="deleted_at", type="datetime", nullable=true)
  100.      */
  101.     private $deletedAt;
  102.     
  103.     /**
  104.      * Get id
  105.      *
  106.      * @return integer
  107.      */
  108.     public function getId()
  109.     {
  110.         return $this->id;
  111.     }
  112.     
  113.     /**
  114.      * Set languageId
  115.      *
  116.      * @param integer $languageId
  117.      *
  118.      * @return CmsFlashMessageMaster
  119.      */
  120.     public function setLanguageId($languageId)
  121.     {
  122.         $this->languageId $languageId;
  123.     
  124.         return $this;
  125.     }
  126.     
  127.     /**
  128.      * Get languageId
  129.      *
  130.      * @return integer
  131.      */
  132.     public function getLanguageId()
  133.     {
  134.         return $this->languageId;
  135.     }
  136.     
  137.     /**
  138.      * Set flashMessageContent
  139.      *
  140.      * @param string $flashMessageContent
  141.      *
  142.      * @return CmsFlashMessageMaster
  143.      */
  144.     public function setFlashMessageContent($flashMessageContent)
  145.     {
  146.         $this->flashMessageContent $flashMessageContent;
  147.     
  148.         return $this;
  149.     }
  150.     
  151.     /**
  152.      * Get flashMessageContent
  153.      *
  154.      * @return string
  155.      */
  156.     public function getFlashMessageContent()
  157.     {
  158.         return $this->flashMessageContent;
  159.     }
  160.     /**
  161.      * Set instanceId
  162.      *
  163.      * @param integer $instanceId
  164.      *
  165.      * @return CmsFlashMessageMaster
  166.      */
  167.     public function setInstanceId($instanceId)
  168.     {
  169.         $this->instanceId $instanceId;
  170.         return $this;
  171.     }
  172.     /**
  173.      * Get instanceId
  174.      *
  175.      * @return integer
  176.      */
  177.     public function getInstanceId()
  178.     {
  179.         return $this->instanceId;
  180.     }
  181.     /**
  182.      * Set instanceType
  183.      *
  184.      * @param string $instanceType
  185.      *
  186.      * @return CmsFlashMessageMaster
  187.      */
  188.     public function setInstanceType($instanceType)
  189.     {
  190.         $this->instanceType $instanceType;
  191.         return $this;
  192.     }
  193.     /**
  194.      * Get instanceType
  195.      *
  196.      * @return string
  197.      */
  198.     public function getInstanceType()
  199.     {
  200.         return $this->instanceType;
  201.     }
  202.     /**
  203.      * Set countryId
  204.      *
  205.      * @param integer $countryId
  206.      *
  207.      * @return CmsFlashMessageMaster
  208.      */
  209.     public function setCountryId($countryId)
  210.     {
  211.         $this->countryId $countryId;
  212.         return $this;
  213.     }
  214.     /**
  215.      * Get countryId
  216.      *
  217.      * @return integer
  218.      */
  219.     public function getCountryId()
  220.     {
  221.         return $this->countryId;
  222.     }
  223.     /**
  224.      * Set status
  225.      *
  226.      * @param integer $status
  227.      *
  228.      * @return CmsFlashMessageMaster
  229.      */
  230.     public function setStatus($status)
  231.     {
  232.         $this->status $status;
  233.         return $this;
  234.     }
  235.     /**
  236.      * Get status
  237.      *
  238.      * @return integer
  239.      */
  240.     public function getStatus()
  241.     {
  242.         return $this->status;
  243.     }
  244.     /**
  245.      * Set createdUid
  246.      *
  247.      * @param integer $createdUid
  248.      *
  249.      * @return CmsFlashMessageMaster
  250.      */
  251.     public function setCreatedUid($createdUid)
  252.     {
  253.         $this->createdUid $createdUid;
  254.         return $this;
  255.     }
  256.     /**
  257.      * Get createdUid
  258.      *
  259.      * @return integer
  260.      */
  261.     public function getCreatedUid()
  262.     {
  263.         return $this->createdUid;
  264.     }
  265.     /**
  266.      * Set updatedUid
  267.      *
  268.      * @param integer $updatedUid
  269.      *
  270.      * @return CmsFlashMessageMaster
  271.      */
  272.     public function setUpdatedUid($updatedUid)
  273.     {
  274.         $this->updatedUid $updatedUid;
  275.         return $this;
  276.     }
  277.     /**
  278.      * Get updatedUid
  279.      *
  280.      * @return integer
  281.      */
  282.     public function getUpdatedUid()
  283.     {
  284.         return $this->updatedUid;
  285.     }
  286.     /**
  287.      * Set deletedUid
  288.      *
  289.      * @param integer $deletedUid
  290.      *
  291.      * @return CmsFlashMessageMaster
  292.      */
  293.     public function setDeletedUid($deletedUid)
  294.     {
  295.         $this->deletedUid $deletedUid;
  296.         return $this;
  297.     }
  298.     /**
  299.      * Get deletedUid
  300.      *
  301.      * @return integer
  302.      */
  303.     public function getDeletedUid()
  304.     {
  305.         return $this->deletedUid;
  306.     }
  307.     /**
  308.      * Set createdAt
  309.      *
  310.      * @param \DateTime $createdAt
  311.      *
  312.      * @return CmsFlashMessageMaster
  313.      */
  314.     public function setCreatedAt($createdAt)
  315.     {
  316.         $this->createdAt $createdAt;
  317.         return $this;
  318.     }
  319.     /**
  320.      * Get createdAt
  321.      *
  322.      * @return \DateTime
  323.      */
  324.     public function getCreatedAt()
  325.     {
  326.         return $this->createdAt;
  327.     }
  328.     /**
  329.      * Set updatedAt
  330.      *
  331.      * @param \DateTime $updatedAt
  332.      *
  333.      * @return CmsFlashMessageMaster
  334.      */
  335.     public function setUpdatedAt($updatedAt)
  336.     {
  337.         $this->updatedAt $updatedAt;
  338.         return $this;
  339.     }
  340.     /**
  341.      * Get updatedAt
  342.      *
  343.      * @return \DateTime
  344.      */
  345.     public function getUpdatedAt()
  346.     {
  347.         return $this->updatedAt;
  348.     }
  349.     /**
  350.      * Set deletedAt
  351.      *
  352.      * @param \DateTime $deletedAt
  353.      *
  354.      * @return CmsFlashMessageMaster
  355.      */
  356.     public function setDeletedAt($deletedAt)
  357.     {
  358.         $this->deletedAt $deletedAt;
  359.         return $this;
  360.     }
  361.     /**
  362.      * Get deletedAt
  363.      *
  364.      * @return \DateTime
  365.      */
  366.     public function getDeletedAt()
  367.     {
  368.         return $this->deletedAt;
  369.     }
  370. }