src/OfficeBrain/Bundle/ServiceGroupBundle/Entity/ServiceRuleChargeProductPrice.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\ServiceGroupBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as GEDMO;
  5. /**
  6.  * ServiceRuleChargeProductPrice
  7.  *
  8.  * @ORM\Table(name="tbl_service_rule_charge_product_price")
  9.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\ServiceGroupBundle\Entity\ServiceRuleChargeProductPriceRepository")
  10.  */
  11. class ServiceRuleChargeProductPrice
  12. {
  13.     /**
  14.      * @var integer
  15.      *
  16.      * @var int @ORM\Column(name="id", type="bigint", options={"unsigned":true})
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="AUTO")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var integer
  23.      *
  24.      * @ORM\ManyToOne(targetEntity="ServiceRuleMappingMaster", inversedBy="ruleMapMasterId")
  25.      * @ORM\JoinColumn(name="rule_mapping_id", referencedColumnName="id")
  26.      */
  27.     private $ruleMappingId;
  28.     /**
  29.      * @var integer
  30.      *
  31.      * @ORM\Column(name="product_id", type="bigint")
  32.      */
  33.     private $productId;
  34.     /**
  35.      * @var string
  36.      *
  37.      * @ORM\Column(name="charge_type", type="string", length=255)
  38.      */
  39.     private $chargeType;
  40.     /**
  41.      * @var integer
  42.      *
  43.      * @ORM\Column(name="priority", type="integer")
  44.      */
  45.     private $priority;
  46.     
  47.     /**
  48.      * @var integer
  49.      *
  50.      * @ORM\Column(name="service_group_id", type="bigint" ,length=20 ,options={"unsigned"=true}, nullable=true)
  51.      */
  52.     private $serviceGroupId;
  53.     
  54.     /**
  55.      * @var \integer
  56.      *
  57.      * @ORM\Column(name="instance_id", type="integer",length=11,nullable=true)
  58.      */
  59.     private $instanceId;
  60.     
  61.     /**
  62.      * @var \string
  63.      *
  64.      * @ORM\Column(name="instance_type", type="string",length=255,nullable=true)
  65.      */
  66.     private $instanceType;
  67.     
  68.     /**
  69.      * @var datetime
  70.      *
  71.      * @Gedmo\Timestampable(on="create")
  72.      * @ORM\Column(name="created_at",type="datetime")
  73.      */
  74.     protected $createdAt;
  75.     
  76.     /**
  77.      * @var datetime
  78.      *
  79.      * @Gedmo\Timestampable(on="update")
  80.      * @ORM\Column( name="updated_at", type="datetime",nullable=true)
  81.      */
  82.     protected $updatedAt;
  83.     
  84.     /**
  85.      * @var int
  86.      * @ORM\Column(name="created_uid", type="bigint" ,length=20 ,options={"unsigned"=true})
  87.      */
  88.     private $createdUid;
  89.     
  90.     /**
  91.      * @var int
  92.      * @ORM\Column(name="updated_uid", type="bigint" ,length=20 ,options={"unsigned"=true}, nullable=true)
  93.      */
  94.     private $updatedUid;
  95.     
  96.     /**
  97.      * Get id
  98.      *
  99.      * @return integer
  100.      */
  101.     public function getId()
  102.     {
  103.         return $this->id;
  104.     }
  105.     /**
  106.      * Set productId
  107.      *
  108.      * @param integer $productId
  109.      *
  110.      * @return ServiceRuleChargeProductPrice
  111.      */
  112.     public function setProductId($productId)
  113.     {
  114.         $this->productId $productId;
  115.         return $this;
  116.     }
  117.     /**
  118.      * Get productId
  119.      *
  120.      * @return integer
  121.      */
  122.     public function getProductId()
  123.     {
  124.         return $this->productId;
  125.     }
  126.     /**
  127.      * Set chargeType
  128.      *
  129.      * @param string $chargeType
  130.      *
  131.      * @return ServiceRuleChargeProductPrice
  132.      */
  133.     public function setChargeType($chargeType)
  134.     {
  135.         $this->chargeType $chargeType;
  136.         return $this;
  137.     }
  138.     /**
  139.      * Get chargeType
  140.      *
  141.      * @return string
  142.      */
  143.     public function getChargeType()
  144.     {
  145.         return $this->chargeType;
  146.     }
  147.     /**
  148.      * Set priority
  149.      *
  150.      * @param integer $priority
  151.      *
  152.      * @return ServiceRuleChargeProductPrice
  153.      */
  154.     public function setPriority($priority)
  155.     {
  156.         $this->priority $priority;
  157.         return $this;
  158.     }
  159.     /**
  160.      * Get priority
  161.      *
  162.      * @return integer
  163.      */
  164.     public function getPriority()
  165.     {
  166.         return $this->priority;
  167.     }
  168.     /**
  169.      * Set instanceId
  170.      *
  171.      * @param integer $instanceId
  172.      *
  173.      * @return ServiceRuleChargeProductPrice
  174.      */
  175.     public function setInstanceId($instanceId)
  176.     {
  177.         $this->instanceId $instanceId;
  178.         return $this;
  179.     }
  180.     /**
  181.      * Get instanceId
  182.      *
  183.      * @return integer
  184.      */
  185.     public function getInstanceId()
  186.     {
  187.         return $this->instanceId;
  188.     }
  189.     /**
  190.      * Set instanceType
  191.      *
  192.      * @param string $instanceType
  193.      *
  194.      * @return ServiceRuleChargeProductPrice
  195.      */
  196.     public function setInstanceType($instanceType)
  197.     {
  198.         $this->instanceType $instanceType;
  199.         return $this;
  200.     }
  201.     /**
  202.      * Get instanceType
  203.      *
  204.      * @return string
  205.      */
  206.     public function getInstanceType()
  207.     {
  208.         return $this->instanceType;
  209.     }
  210.     /**
  211.      * Set createdAt
  212.      *
  213.      * @param \DateTime $createdAt
  214.      *
  215.      * @return ServiceRuleChargeProductPrice
  216.      */
  217.     public function setCreatedAt($createdAt)
  218.     {
  219.         $this->createdAt $createdAt;
  220.         return $this;
  221.     }
  222.     /**
  223.      * Get createdAt
  224.      *
  225.      * @return \DateTime
  226.      */
  227.     public function getCreatedAt()
  228.     {
  229.         return $this->createdAt;
  230.     }
  231.     /**
  232.      * Set updatedAt
  233.      *
  234.      * @param \DateTime $updatedAt
  235.      *
  236.      * @return ServiceRuleChargeProductPrice
  237.      */
  238.     public function setUpdatedAt($updatedAt)
  239.     {
  240.         $this->updatedAt $updatedAt;
  241.         return $this;
  242.     }
  243.     /**
  244.      * Get updatedAt
  245.      *
  246.      * @return \DateTime
  247.      */
  248.     public function getUpdatedAt()
  249.     {
  250.         return $this->updatedAt;
  251.     }
  252.     /**
  253.      * Set createdUid
  254.      *
  255.      * @param integer $createdUid
  256.      *
  257.      * @return ServiceRuleChargeProductPrice
  258.      */
  259.     public function setCreatedUid($createdUid)
  260.     {
  261.         $this->createdUid $createdUid;
  262.         return $this;
  263.     }
  264.     /**
  265.      * Get createdUid
  266.      *
  267.      * @return integer
  268.      */
  269.     public function getCreatedUid()
  270.     {
  271.         return $this->createdUid;
  272.     }
  273.     /**
  274.      * Set updatedUid
  275.      *
  276.      * @param integer $updatedUid
  277.      *
  278.      * @return ServiceRuleChargeProductPrice
  279.      */
  280.     public function setUpdatedUid($updatedUid)
  281.     {
  282.         $this->updatedUid $updatedUid;
  283.         return $this;
  284.     }
  285.     /**
  286.      * Get updatedUid
  287.      *
  288.      * @return integer
  289.      */
  290.     public function getUpdatedUid()
  291.     {
  292.         return $this->updatedUid;
  293.     }
  294.     /**
  295.      * Set ruleMappingId
  296.      *
  297.      * @param \App\OfficeBrain\Bundle\ServiceGroupBundle\Entity\ServiceRuleMappingMaster $ruleMappingId
  298.      *
  299.      * @return ServiceRuleChargeProductPrice
  300.      */
  301.     public function setRuleMappingId(\App\OfficeBrain\Bundle\ServiceGroupBundle\Entity\ServiceRuleMappingMaster $ruleMappingId null)
  302.     {
  303.         $this->ruleMappingId $ruleMappingId;
  304.         return $this;
  305.     }
  306.     /**
  307.      * Get ruleMappingId
  308.      *
  309.      * @return \App\OfficeBrain\Bundle\ServiceGroupBundle\Entity\ServiceRuleMappingMaster
  310.      */
  311.     public function getRuleMappingId()
  312.     {
  313.         return $this->ruleMappingId;
  314.     }
  315.     /**
  316.      * Set serviceGroupId
  317.      *
  318.      * @param integer $serviceGroupId
  319.      *
  320.      * @return ServiceRuleChargeProductPrice
  321.      */
  322.     public function setServiceGroupId($serviceGroupId)
  323.     {
  324.         $this->serviceGroupId $serviceGroupId;
  325.         return $this;
  326.     }
  327.     /**
  328.      * Get serviceGroupId
  329.      *
  330.      * @return integer
  331.      */
  332.     public function getServiceGroupId()
  333.     {
  334.         return $this->serviceGroupId;
  335.     }
  336. }