src/OfficeBrain/Bundle/UserBundle/Entity/SignUpForm.php line 16

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\UserBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. /**
  6.  * SignUpForm
  7.  *
  8.  * @ORM\Table(name="tbl_sign_up_form")
  9.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\UserBundle\Entity\SignUpFormRepository")
  10.  * @Gedmo\SoftDeleteable(fieldName="deletedAt", timeAware=false)
  11.  */
  12. class SignUpForm
  13. {
  14.     /**
  15.      * @var integer
  16.      *
  17.      * @ORM\Column(name="id", type="bigint",length=20, options={"unsigned"=true})
  18.      * @ORM\Id
  19.      * @ORM\GeneratedValue(strategy="AUTO")
  20.      */
  21.     private $id;
  22.     /**
  23.      * @var string
  24.      * @ORM\Column(name="user_type", type="string", length=100, options={"collate"="utf8_unicode_ci"})
  25.      */
  26.     private $userType;
  27.     /**
  28.      * @var string
  29.      * @ORM\Column(name="fields", type="text", options={"collate"="utf8_unicode_ci"})
  30.      */
  31.     private $fields;
  32.     /**
  33.      * @var string
  34.      * @ORM\Column(name="unique_keys", type="text", options={"collate"="utf8_unicode_ci"})
  35.      */
  36.     private $uniqueKeys;
  37.     /**
  38.      * @var string
  39.      * @ORM\Column(name="validations", type="text", options={"collate"="utf8_unicode_ci"})
  40.      */
  41.     private $validations;
  42.     /**
  43.      * @var string
  44.      * @ORM\Column(name="approval_configuration", type="text", options={"collate"="utf8_unicode_ci"})
  45.      */
  46.     private $approvalConfiguration;
  47.     /**
  48.      * @var string
  49.      * @ORM\Column(name="instance_type", type="string", length=255, options={"collate"="utf8_unicode_ci"})
  50.      */
  51.     private $instanceType;
  52.     /**
  53.      * @var integer
  54.      * @ORM\Column(name="instance_type_id", type="bigint" ,length=20 ,options={"unsigned"=true})
  55.      */
  56.     private $instanceTypeId;
  57.     /**
  58.      * @var datetime
  59.      *
  60.      * @Gedmo\Timestampable(on="create")
  61.      * @ORM\Column(name="created_at",type="datetime")
  62.      */
  63.     protected $createdAt;
  64.     /**
  65.      * @var datetime
  66.      *
  67.      * @Gedmo\Timestampable(on="update")
  68.      * @ORM\Column( name="updated_at", type="datetime",nullable=true)
  69.      */
  70.     protected $updatedAt;
  71.     /**
  72.      * @var datetime
  73.      *
  74.      * @ORM\Column(name="deleted_at",type="datetime",  nullable=true)
  75.      */
  76.     protected $deletedAt;
  77.     /**
  78.      * Get id
  79.      *
  80.      * @return integer
  81.      */
  82.     public function getId()
  83.     {
  84.         return $this->id;
  85.     }
  86.     /**
  87.      * Set userType
  88.      *
  89.      * @param string $userType
  90.      * @return SignUpForm
  91.      */
  92.     public function setUserType($userType)
  93.     {
  94.         $this->userType $userType;
  95.         return $this;
  96.     }
  97.     /**
  98.      * Get userType
  99.      *
  100.      * @return string
  101.      */
  102.     public function getUserType()
  103.     {
  104.         return $this->userType;
  105.     }
  106.     /**
  107.      * Set fields
  108.      *
  109.      * @param string $fields
  110.      * @return SignUpForm
  111.      */
  112.     public function setFields($fields)
  113.     {
  114.         $this->fields $fields;
  115.         return $this;
  116.     }
  117.     /**
  118.      * Get fields
  119.      *
  120.      * @return string
  121.      */
  122.     public function getFields()
  123.     {
  124.         return $this->fields;
  125.     }
  126.     /**
  127.      * Set uniqueKeys
  128.      *
  129.      * @param string $uniqueKeys
  130.      * @return SignUpForm
  131.      */
  132.     public function setUniqueKeys($uniqueKeys)
  133.     {
  134.         $this->uniqueKeys $uniqueKeys;
  135.         return $this;
  136.     }
  137.     /**
  138.      * Get uniqueKeys
  139.      *
  140.      * @return string
  141.      */
  142.     public function getUniqueKeys()
  143.     {
  144.         return $this->uniqueKeys;
  145.     }
  146.     /**
  147.      * Set validations
  148.      *
  149.      * @param string $validations
  150.      * @return SignUpForm
  151.      */
  152.     public function setValidations($validations)
  153.     {
  154.         $this->validations $validations;
  155.         return $this;
  156.     }
  157.     /**
  158.      * Get validations
  159.      *
  160.      * @return string
  161.      */
  162.     public function getValidations()
  163.     {
  164.         return $this->validations;
  165.     }
  166.     /**
  167.      * Set instanceType
  168.      *
  169.      * @param string $instanceType
  170.      * @return SignUpForm
  171.      */
  172.     public function setInstanceType($instanceType)
  173.     {
  174.         $this->instanceType $instanceType;
  175.         return $this;
  176.     }
  177.     /**
  178.      * Get instanceType
  179.      *
  180.      * @return string
  181.      */
  182.     public function getInstanceType()
  183.     {
  184.         return $this->instanceType;
  185.     }
  186.     /**
  187.      * Set instanceTypeId
  188.      *
  189.      * @param integer $instanceTypeId
  190.      * @return SignUpForm
  191.      */
  192.     public function setInstanceTypeId($instanceTypeId)
  193.     {
  194.         $this->instanceTypeId $instanceTypeId;
  195.         return $this;
  196.     }
  197.     /**
  198.      * Get instanceTypeId
  199.      *
  200.      * @return integer
  201.      */
  202.     public function getInstanceTypeId()
  203.     {
  204.         return $this->instanceTypeId;
  205.     }
  206.     /**
  207.      * Set createdAt
  208.      *
  209.      * @param \DateTime $createdAt
  210.      * @return SignUpForm
  211.      */
  212.     public function setCreatedAt($createdAt)
  213.     {
  214.         $this->createdAt $createdAt;
  215.         return $this;
  216.     }
  217.     /**
  218.      * Get createdAt
  219.      *
  220.      * @return \DateTime
  221.      */
  222.     public function getCreatedAt()
  223.     {
  224.         return $this->createdAt;
  225.     }
  226.     /**
  227.      * Set updatedAt
  228.      *
  229.      * @param \DateTime $updatedAt
  230.      * @return SignUpForm
  231.      */
  232.     public function setUpdatedAt($updatedAt)
  233.     {
  234.         $this->updatedAt $updatedAt;
  235.         return $this;
  236.     }
  237.     /**
  238.      * Get updatedAt
  239.      *
  240.      * @return \DateTime
  241.      */
  242.     public function getUpdatedAt()
  243.     {
  244.         return $this->updatedAt;
  245.     }
  246.     /**
  247.      * Set deletedAt
  248.      *
  249.      * @param \DateTime $deletedAt
  250.      * @return SignUpForm
  251.      */
  252.     public function setDeletedAt($deletedAt)
  253.     {
  254.         $this->deletedAt $deletedAt;
  255.         return $this;
  256.     }
  257.     /**
  258.      * Get deletedAt
  259.      *
  260.      * @return \DateTime
  261.      */
  262.     public function getDeletedAt()
  263.     {
  264.         return $this->deletedAt;
  265.     }
  266.     /**
  267.      * Set approvalConfiguration
  268.      *
  269.      * @param string $approvalConfiguration
  270.      * @return SignUpForm
  271.      */
  272.     public function setApprovalConfiguration($approvalConfiguration)
  273.     {
  274.         $this->approvalConfiguration $approvalConfiguration;
  275.         return $this;
  276.     }
  277.     /**
  278.      * Get approvalConfiguration
  279.      *
  280.      * @return string
  281.      */
  282.     public function getApprovalConfiguration()
  283.     {
  284.         return $this->approvalConfiguration;
  285.     }
  286. }