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:  * CommercialCommercialDocument
  9:  *
 10:  * @Table(name="COMMERCIAL_COMMERCIAL_DOCUMENT")
 11:  * @Entity
 12:  */
 13: class CommercialCommercialDocument
 14: {
 15:     /**
 16:      * @var string $customerName
 17:      *
 18:      * @Column(name="customer_name", type="string", length=150)
 19:      */
 20:     private $customerName;
 21: 
 22:     /**
 23:      * @var string $address1
 24:      *
 25:      * @Column(name="address1", type="string", length=100)
 26:      */
 27:     private $address1;
 28: 
 29:     /**
 30:      * @var string $address2
 31:      *
 32:      * @Column(name="address2", type="string", length=100)
 33:      */
 34:     private $address2;
 35: 
 36:     /**
 37:      * @var string $postalCode
 38:      *
 39:      * @Column(name="postal_code", type="string", length=10)
 40:      */
 41:     private $postalCode;
 42: 
 43:     /**
 44:      * @var string $city
 45:      *
 46:      * @Column(name="city", type="string", length=60)
 47:      */
 48:     private $city;
 49: 
 50:     /**
 51:      * @var string $description
 52:      *
 53:      * @Column(name="description", type="string", length=150)
 54:      */
 55:     private $description;
 56: 
 57:     /**
 58:      * @var text $freeComment
 59:      *
 60:      * @Column(name="free_comment", type="text")
 61:      */
 62:     private $freeComment;
 63: 
 64:     /**
 65:      * @var integer $id
 66:      *
 67:      * @Column(name="id", type="integer")
 68:      * @Id
 69:      * @GeneratedValue(strategy="IDENTITY")
 70:      */
 71:     private $id;
 72: 
 73:     /**
 74:      * @var CoreCountries
 75:      *
 76:      * @ManyToOne(targetEntity="CoreCountries")
 77:      * @JoinColumns({
 78:      *   @JoinColumn(name="country_code", referencedColumnName="code")
 79:      * })
 80:      */
 81:     private $countryCode;
 82: 
 83:     /**
 84:      * @var CommercialProject
 85:      *
 86:      * @ManyToOne(targetEntity="CommercialProject")
 87:      * @JoinColumns({
 88:      *   @JoinColumn(name="project_id", referencedColumnName="id")
 89:      * })
 90:      */
 91:     private $project;
 92: 
 93: 
 94:     /**
 95:      * Set customerName
 96:      *
 97:      * @param string $customerName
 98:      * @return CommercialCommercialDocument
 99:      */
100:     public function setCustomerName($customerName)
101:     {
102:         $this->customerName = $customerName;
103:         return $this;
104:     }
105: 
106:     /**
107:      * Get customerName
108:      *
109:      * @return string 
110:      */
111:     public function getCustomerName()
112:     {
113:         return $this->customerName;
114:     }
115: 
116:     /**
117:      * Set address1
118:      *
119:      * @param string $address1
120:      * @return CommercialCommercialDocument
121:      */
122:     public function setAddress1($address1)
123:     {
124:         $this->address1 = $address1;
125:         return $this;
126:     }
127: 
128:     /**
129:      * Get address1
130:      *
131:      * @return string 
132:      */
133:     public function getAddress1()
134:     {
135:         return $this->address1;
136:     }
137: 
138:     /**
139:      * Set address2
140:      *
141:      * @param string $address2
142:      * @return CommercialCommercialDocument
143:      */
144:     public function setAddress2($address2)
145:     {
146:         $this->address2 = $address2;
147:         return $this;
148:     }
149: 
150:     /**
151:      * Get address2
152:      *
153:      * @return string 
154:      */
155:     public function getAddress2()
156:     {
157:         return $this->address2;
158:     }
159: 
160:     /**
161:      * Set postalCode
162:      *
163:      * @param string $postalCode
164:      * @return CommercialCommercialDocument
165:      */
166:     public function setPostalCode($postalCode)
167:     {
168:         $this->postalCode = $postalCode;
169:         return $this;
170:     }
171: 
172:     /**
173:      * Get postalCode
174:      *
175:      * @return string 
176:      */
177:     public function getPostalCode()
178:     {
179:         return $this->postalCode;
180:     }
181: 
182:     /**
183:      * Set city
184:      *
185:      * @param string $city
186:      * @return CommercialCommercialDocument
187:      */
188:     public function setCity($city)
189:     {
190:         $this->city = $city;
191:         return $this;
192:     }
193: 
194:     /**
195:      * Get city
196:      *
197:      * @return string 
198:      */
199:     public function getCity()
200:     {
201:         return $this->city;
202:     }
203: 
204:     /**
205:      * Set description
206:      *
207:      * @param string $description
208:      * @return CommercialCommercialDocument
209:      */
210:     public function setDescription($description)
211:     {
212:         $this->description = $description;
213:         return $this;
214:     }
215: 
216:     /**
217:      * Get description
218:      *
219:      * @return string 
220:      */
221:     public function getDescription()
222:     {
223:         return $this->description;
224:     }
225: 
226:     /**
227:      * Set freeComment
228:      *
229:      * @param text $freeComment
230:      * @return CommercialCommercialDocument
231:      */
232:     public function setFreeComment($freeComment)
233:     {
234:         $this->freeComment = $freeComment;
235:         return $this;
236:     }
237: 
238:     /**
239:      * Get freeComment
240:      *
241:      * @return text 
242:      */
243:     public function getFreeComment()
244:     {
245:         return $this->freeComment;
246:     }
247: 
248:     /**
249:      * Get id
250:      *
251:      * @return integer 
252:      */
253:     public function getId()
254:     {
255:         return $this->id;
256:     }
257: 
258:     /**
259:      * Set countryCode
260:      *
261:      * @param CoreCountries $countryCode
262:      * @return CommercialCommercialDocument
263:      */
264:     public function setCountryCode(\CoreCountries $countryCode = null)
265:     {
266:         $this->countryCode = $countryCode;
267:         return $this;
268:     }
269: 
270:     /**
271:      * Get countryCode
272:      *
273:      * @return CoreCountries 
274:      */
275:     public function getCountryCode()
276:     {
277:         return $this->countryCode;
278:     }
279: 
280:     /**
281:      * Set project
282:      *
283:      * @param CommercialProject $project
284:      * @return CommercialCommercialDocument
285:      */
286:     public function setProject(\CommercialProject $project = null)
287:     {
288:         $this->project = $project;
289:         return $this;
290:     }
291: 
292:     /**
293:      * Get project
294:      *
295:      * @return CommercialProject 
296:      */
297:     public function getProject()
298:     {
299:         return $this->project;
300:     }
301: }
igestis-iprojectis-v2 API documentation generated by ApiGen 2.8.0