1: <?php
2:
3:
4:
5:
6:
7: /**
8: * CommercialProviderInvoiceAssocAmounts
9: *
10: * @Table(name="COMMERCIAL_PROVIDER_INVOICE_ASSOC_AMOUNTS")
11: * @Entity
12: */
13: class CommercialProviderInvoiceAssocAmounts
14: {
15: /**
16: * @var decimal $amountDf
17: *
18: * @Column(name="amount_df", type="decimal")
19: */
20: private $amountDf;
21:
22: /**
23: * @var decimal $amountTi
24: *
25: * @Column(name="amount_ti", type="decimal")
26: */
27: private $amountTi;
28:
29: /**
30: * @var decimal $taxes
31: *
32: * @Column(name="taxes", type="decimal")
33: */
34: private $taxes;
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 CommercialProviderInvoice
47: *
48: * @ManyToOne(targetEntity="CommercialProviderInvoice")
49: * @JoinColumns({
50: * @JoinColumn(name="purchase_invoice_id", referencedColumnName="id")
51: * })
52: */
53: private $purchaseInvoice;
54:
55: /**
56: * @var CommercialPurchasingAccount
57: *
58: * @ManyToOne(targetEntity="CommercialPurchasingAccount")
59: * @JoinColumns({
60: * @JoinColumn(name="purchasing_account_id", referencedColumnName="id")
61: * })
62: */
63: private $purchasingAccount;
64:
65:
66: /**
67: * Set amountDf
68: *
69: * @param decimal $amountDf
70: * @return CommercialProviderInvoiceAssocAmounts
71: */
72: public function setAmountDf($amountDf)
73: {
74: $this->amountDf = $amountDf;
75: return $this;
76: }
77:
78: /**
79: * Get amountDf
80: *
81: * @return decimal
82: */
83: public function getAmountDf()
84: {
85: return $this->amountDf;
86: }
87:
88: /**
89: * Set amountTi
90: *
91: * @param decimal $amountTi
92: * @return CommercialProviderInvoiceAssocAmounts
93: */
94: public function setAmountTi($amountTi)
95: {
96: $this->amountTi = $amountTi;
97: return $this;
98: }
99:
100: /**
101: * Get amountTi
102: *
103: * @return decimal
104: */
105: public function getAmountTi()
106: {
107: return $this->amountTi;
108: }
109:
110: /**
111: * Set taxes
112: *
113: * @param decimal $taxes
114: * @return CommercialProviderInvoiceAssocAmounts
115: */
116: public function setTaxes($taxes)
117: {
118: $this->taxes = $taxes;
119: return $this;
120: }
121:
122: /**
123: * Get taxes
124: *
125: * @return decimal
126: */
127: public function getTaxes()
128: {
129: return $this->taxes;
130: }
131:
132: /**
133: * Get id
134: *
135: * @return integer
136: */
137: public function getId()
138: {
139: return $this->id;
140: }
141:
142: /**
143: * Set purchaseInvoice
144: *
145: * @param CommercialProviderInvoice $purchaseInvoice
146: * @return CommercialProviderInvoiceAssocAmounts
147: */
148: public function setPurchaseInvoice(\CommercialProviderInvoice $purchaseInvoice = null)
149: {
150: $this->purchaseInvoice = $purchaseInvoice;
151: return $this;
152: }
153:
154: /**
155: * Get purchaseInvoice
156: *
157: * @return CommercialProviderInvoice
158: */
159: public function getPurchaseInvoice()
160: {
161: return $this->purchaseInvoice;
162: }
163:
164: /**
165: * Set purchasingAccount
166: *
167: * @param CommercialPurchasingAccount $purchasingAccount
168: * @return CommercialProviderInvoiceAssocAmounts
169: */
170: public function setPurchasingAccount(\CommercialPurchasingAccount $purchasingAccount = null)
171: {
172: $this->purchasingAccount = $purchasingAccount;
173: return $this;
174: }
175:
176: /**
177: * Get purchasingAccount
178: *
179: * @return CommercialPurchasingAccount
180: */
181: public function getPurchasingAccount()
182: {
183: return $this->purchasingAccount;
184: }
185: }