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:  * CommercialBankOperation
  9:  *
 10:  * @Table(name="COMMERCIAL_BANK_OPERATION")
 11:  * @Entity
 12:  */
 13: class CommercialBankOperation
 14: {
 15:     /**
 16:      * @var string $label
 17:      *
 18:      * @Column(name="label", type="string", length=120)
 19:      */
 20:     private $label;
 21: 
 22:     /**
 23:      * @var datetime $importDate
 24:      *
 25:      * @Column(name="import_date", type="datetime")
 26:      */
 27:     private $importDate;
 28: 
 29:     /**
 30:      * @var date $operationDate
 31:      *
 32:      * @Column(name="operation_date", type="date")
 33:      */
 34:     private $operationDate;
 35: 
 36:     /**
 37:      * @var string $operationType
 38:      *
 39:      * @Column(name="operation_type", type="string")
 40:      */
 41:     private $operationType;
 42: 
 43:     /**
 44:      * @var string $operationRef
 45:      *
 46:      * @Column(name="operation_ref", type="string", length=20)
 47:      */
 48:     private $operationRef;
 49: 
 50:     /**
 51:      * @var decimal $operationAmount
 52:      *
 53:      * @Column(name="operation_amount", type="decimal")
 54:      */
 55:     private $operationAmount;
 56: 
 57:     /**
 58:      * @var integer $id
 59:      *
 60:      * @Column(name="id", type="integer")
 61:      * @Id
 62:      * @GeneratedValue(strategy="IDENTITY")
 63:      */
 64:     private $id;
 65: 
 66:     /**
 67:      * @var CommercialBankAccount
 68:      *
 69:      * @ManyToOne(targetEntity="CommercialBankAccount")
 70:      * @JoinColumns({
 71:      *   @JoinColumn(name="account_id", referencedColumnName="id")
 72:      * })
 73:      */
 74:     private $account;
 75: 
 76: 
 77:     /**
 78:      * Set label
 79:      *
 80:      * @param string $label
 81:      * @return CommercialBankOperation
 82:      */
 83:     public function setLabel($label)
 84:     {
 85:         $this->label = $label;
 86:         return $this;
 87:     }
 88: 
 89:     /**
 90:      * Get label
 91:      *
 92:      * @return string 
 93:      */
 94:     public function getLabel()
 95:     {
 96:         return $this->label;
 97:     }
 98: 
 99:     /**
100:      * Set importDate
101:      *
102:      * @param datetime $importDate
103:      * @return CommercialBankOperation
104:      */
105:     public function setImportDate($importDate)
106:     {
107:         $this->importDate = $importDate;
108:         return $this;
109:     }
110: 
111:     /**
112:      * Get importDate
113:      *
114:      * @return datetime 
115:      */
116:     public function getImportDate()
117:     {
118:         return $this->importDate;
119:     }
120: 
121:     /**
122:      * Set operationDate
123:      *
124:      * @param date $operationDate
125:      * @return CommercialBankOperation
126:      */
127:     public function setOperationDate($operationDate)
128:     {
129:         $this->operationDate = $operationDate;
130:         return $this;
131:     }
132: 
133:     /**
134:      * Get operationDate
135:      *
136:      * @return date 
137:      */
138:     public function getOperationDate()
139:     {
140:         return $this->operationDate;
141:     }
142: 
143:     /**
144:      * Set operationType
145:      *
146:      * @param string $operationType
147:      * @return CommercialBankOperation
148:      */
149:     public function setOperationType($operationType)
150:     {
151:         $this->operationType = $operationType;
152:         return $this;
153:     }
154: 
155:     /**
156:      * Get operationType
157:      *
158:      * @return string 
159:      */
160:     public function getOperationType()
161:     {
162:         return $this->operationType;
163:     }
164: 
165:     /**
166:      * Set operationRef
167:      *
168:      * @param string $operationRef
169:      * @return CommercialBankOperation
170:      */
171:     public function setOperationRef($operationRef)
172:     {
173:         $this->operationRef = $operationRef;
174:         return $this;
175:     }
176: 
177:     /**
178:      * Get operationRef
179:      *
180:      * @return string 
181:      */
182:     public function getOperationRef()
183:     {
184:         return $this->operationRef;
185:     }
186: 
187:     /**
188:      * Set operationAmount
189:      *
190:      * @param decimal $operationAmount
191:      * @return CommercialBankOperation
192:      */
193:     public function setOperationAmount($operationAmount)
194:     {
195:         $this->operationAmount = $operationAmount;
196:         return $this;
197:     }
198: 
199:     /**
200:      * Get operationAmount
201:      *
202:      * @return decimal 
203:      */
204:     public function getOperationAmount()
205:     {
206:         return $this->operationAmount;
207:     }
208: 
209:     /**
210:      * Get id
211:      *
212:      * @return integer 
213:      */
214:     public function getId()
215:     {
216:         return $this->id;
217:     }
218: 
219:     /**
220:      * Set account
221:      *
222:      * @param CommercialBankAccount $account
223:      * @return CommercialBankOperation
224:      */
225:     public function setAccount(\CommercialBankAccount $account = null)
226:     {
227:         $this->account = $account;
228:         return $this;
229:     }
230: 
231:     /**
232:      * Get account
233:      *
234:      * @return CommercialBankAccount 
235:      */
236:     public function getAccount()
237:     {
238:         return $this->account;
239:     }
240: }
igestis-iprojectis-v2 API documentation generated by ApiGen 2.8.0