| Line 33... |
Line 33... |
| 33 |
id = Field(Integer)
|
33 |
id = Field(Integer)
|
| 34 |
orderType = Field(Integer, primary_key = True)
|
34 |
orderType = Field(Integer, primary_key = True)
|
| 35 |
using_options(shortnames=True)
|
35 |
using_options(shortnames=True)
|
| 36 |
using_table_options(mysql_engine="InnoDB")
|
36 |
using_table_options(mysql_engine="InnoDB")
|
| 37 |
|
37 |
|
| - |
|
38 |
class InvoiceCounterGenerator(Entity):
|
| - |
|
39 |
id = Field(Integer)
|
| - |
|
40 |
orderType = Field(Integer, primary_key = True)
|
| - |
|
41 |
stateId = Field(Integer, primary_key = True)
|
| - |
|
42 |
prefix = Field(Integer, primary_key = True)
|
| - |
|
43 |
using_options(shortnames=True)
|
| - |
|
44 |
using_table_options(mysql_engine="InnoDB")
|
| - |
|
45 |
|
| 38 |
class RechargeVoucherTracker(Entity):
|
46 |
class RechargeVoucherTracker(Entity):
|
| 39 |
order = ManyToOne("Order")
|
47 |
order = ManyToOne("Order")
|
| 40 |
voucherType = Field(Integer)
|
48 |
voucherType = Field(Integer)
|
| 41 |
amount = Field(Integer)
|
49 |
amount = Field(Integer)
|
| 42 |
voucherIssued = Field(Boolean)
|
50 |
voucherIssued = Field(Boolean)
|
| Line 158... |
Line 166... |
| 158 |
advanceAmount = Field(Float, default=0, server_default="0")
|
166 |
advanceAmount = Field(Float, default=0, server_default="0")
|
| 159 |
productCondition = Field(Integer, default=0, server_default="0")
|
167 |
productCondition = Field(Integer, default=0, server_default="0")
|
| 160 |
dataProtectionInsurer = Field(Integer, default=0, server_default="0")
|
168 |
dataProtectionInsurer = Field(Integer, default=0, server_default="0")
|
| 161 |
dataProtectionAmount = Field(Float, default=0, server_default="0")
|
169 |
dataProtectionAmount = Field(Float, default=0, server_default="0")
|
| 162 |
taxType = Field(Integer, default=0, server_default="0")
|
170 |
taxType = Field(Integer, default=0, server_default="0")
|
| - |
|
171 |
invoicePrefix = Field(String(20))
|
| 163 |
using_options(shortnames=True)
|
172 |
using_options(shortnames=True)
|
| 164 |
using_table_options(mysql_engine="InnoDB")
|
173 |
using_table_options(mysql_engine="InnoDB")
|
| 165 |
|
174 |
|
| 166 |
class CodVerificationAgent(Entity):
|
175 |
class CodVerificationAgent(Entity):
|
| 167 |
orderId = Field(Integer, primary_key=True, autoincrement=True)
|
176 |
orderId = Field(Integer, primary_key=True, autoincrement=True)
|
| Line 562... |
Line 571... |
| 562 |
shippedQuantity = Field(Integer)
|
571 |
shippedQuantity = Field(Integer)
|
| 563 |
sellableReturnQuantity = Field(Integer)
|
572 |
sellableReturnQuantity = Field(Integer)
|
| 564 |
nonSellableReturnQuantity = Field(Integer)
|
573 |
nonSellableReturnQuantity = Field(Integer)
|
| 565 |
using_options(shortnames=True)
|
574 |
using_options(shortnames=True)
|
| 566 |
using_table_options(mysql_engine="InnoDB")
|
575 |
using_table_options(mysql_engine="InnoDB")
|
| - |
|
576 |
|
| - |
|
577 |
class FlipkartAdvantageOrder(Entity):
|
| - |
|
578 |
fkOrderId = Field(String(30),primary_key=True, autoincrement=False)
|
| - |
|
579 |
fkOrderItemId = Field(String(30),primary_key=True, autoincrement=False)
|
| - |
|
580 |
sku = Field(Integer)
|
| - |
|
581 |
creationTimestamp = Field(DateTime)
|
| - |
|
582 |
customerName = Field(String(50))
|
| - |
|
583 |
customerAddress = Field(String(500))
|
| - |
|
584 |
pincode = Field(String(10))
|
| - |
|
585 |
customerCity = Field(String(30))
|
| - |
|
586 |
customerState = Field(String(30))
|
| - |
|
587 |
customerPhone = Field(String(30))
|
| - |
|
588 |
status = Field(String(20))
|
| - |
|
589 |
quantity = Field(Integer)
|
| - |
|
590 |
totalPrice = Field(Float)
|
| - |
|
591 |
listPrice = Field(Float)
|
| - |
|
592 |
modifiedDate = Field(DateTime)
|
| - |
|
593 |
listingId = Field(String(50))
|
| - |
|
594 |
cancelReason = Field(String(100))
|
| - |
|
595 |
returnReason = Field(String(100))
|
| - |
|
596 |
freebieItemId = Field(Integer)
|
| - |
|
597 |
productTitle = Field(String(200))
|
| - |
|
598 |
using_options(shortnames=True)
|
| - |
|
599 |
using_table_options(mysql_engine="InnoDB")
|