Overview

Namespaces

  • Igestis
    • Modules
      • Commercial
  • None

Classes

  • CommercialAccounting
  • CommercialArticle
  • CommercialArticleCategory
  • CommercialAutoIncrement
  • CommercialBankAccount
  • CommercialBankAssocOperations
  • CommercialBankOperation
  • CommercialCommercialDocument
  • CommercialCompanyConfig
  • CommercialEstimate
  • CommercialEstimateArticle
  • CommercialFreeDocument
  • CommercialInvoice
  • CommercialInvoiceItem
  • CommercialParametersController
  • CommercialProject
  • CommercialProviderInvoice
  • CommercialProviderInvoiceAssocAmounts
  • CommercialPurchasingAccount
  • CommercialPurchasingAccountRepository
  • CommercialSellingAccount
  • CommercialSellingAccountRepository
  • CommercialSoldType
  • CommercialSupportCredit
  • CommercialSupportInitialSold
  • CommercialSupportIntervention
  • CommercialUserConfig
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo
  1: <?php
  2: 
  3: 
  4: 
  5: 
  6: 
  7: /**
  8:  * CommercialSupportCredit
  9:  *
 10:  * @Table(name="COMMERCIAL_SUPPORT_CREDIT")
 11:  * @Entity
 12:  */
 13: class CommercialSupportCredit
 14: {
 15:     /**
 16:      * @var datetime $date
 17:      *
 18:      * @Column(name="date", type="datetime")
 19:      */
 20:     private $date;
 21: 
 22:     /**
 23:      * @var string $description
 24:      *
 25:      * @Column(name="description", type="string", length=50)
 26:      */
 27:     private $description;
 28: 
 29:     /**
 30:      * @var integer $period
 31:      *
 32:      * @Column(name="period", type="integer")
 33:      */
 34:     private $period;
 35: 
 36:     /**
 37:      * @var integer $id
 38:      *
 39:      * @Column(name="id", type="integer")
 40:      * @Id
 41:      * @GeneratedValue(strategy="IDENTITY")
 42:      */
 43:     private $id;
 44: 
 45:     /**
 46:      * @var CoreUsers
 47:      *
 48:      * @ManyToOne(targetEntity="CoreUsers")
 49:      * @JoinColumns({
 50:      *   @JoinColumn(name="customer_user_id", referencedColumnName="id")
 51:      * })
 52:      */
 53:     private $customerUser;
 54: 
 55: 
 56:     /**
 57:      * Set date
 58:      *
 59:      * @param datetime $date
 60:      * @return CommercialSupportCredit
 61:      */
 62:     public function setDate($date)
 63:     {
 64:         $this->date = $date;
 65:         return $this;
 66:     }
 67: 
 68:     /**
 69:      * Get date
 70:      *
 71:      * @return datetime 
 72:      */
 73:     public function getDate()
 74:     {
 75:         return $this->date;
 76:     }
 77: 
 78:     /**
 79:      * Set description
 80:      *
 81:      * @param string $description
 82:      * @return CommercialSupportCredit
 83:      */
 84:     public function setDescription($description)
 85:     {
 86:         $this->description = $description;
 87:         return $this;
 88:     }
 89: 
 90:     /**
 91:      * Get description
 92:      *
 93:      * @return string 
 94:      */
 95:     public function getDescription()
 96:     {
 97:         return $this->description;
 98:     }
 99: 
100:     /**
101:      * Set period
102:      *
103:      * @param integer $period
104:      * @return CommercialSupportCredit
105:      */
106:     public function setPeriod($period)
107:     {
108:         $this->period = $period;
109:         return $this;
110:     }
111: 
112:     /**
113:      * Get period
114:      *
115:      * @return integer 
116:      */
117:     public function getPeriod()
118:     {
119:         return $this->period;
120:     }
121: 
122:     /**
123:      * Get id
124:      *
125:      * @return integer 
126:      */
127:     public function getId()
128:     {
129:         return $this->id;
130:     }
131: 
132:     /**
133:      * Set customerUser
134:      *
135:      * @param CoreUsers $customerUser
136:      * @return CommercialSupportCredit
137:      */
138:     public function setCustomerUser(\CoreUsers $customerUser = null)
139:     {
140:         $this->customerUser = $customerUser;
141:         return $this;
142:     }
143: 
144:     /**
145:      * Get customerUser
146:      *
147:      * @return CoreUsers 
148:      */
149:     public function getCustomerUser()
150:     {
151:         return $this->customerUser;
152:     }
153: }
igestis-iprojectis-v2 API documentation generated by ApiGen 2.8.0