Subversion Repositories SmartDukaan

Rev

Rev 4815 | Rev 4905 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4815 Rev 4875
Line 119... Line 119...
119
    previousStatus = Field(Integer)
119
    previousStatus = Field(Integer)
120
    vendorId = Field(Integer)
120
    vendorId = Field(Integer)
121
    delayReasonText= Field(String(200))
121
    delayReasonText= Field(String(200))
122
    doa_logistics_provider_id = Field(Integer)
122
    doa_logistics_provider_id = Field(Integer)
123
    orderInventory = OneToMany("OrderInventory")
123
    orderInventory = OneToMany("OrderInventory")
-
 
124
    vendor_paid = Field(Boolean)
124
    using_options(shortnames=True)
125
    using_options(shortnames=True)
125
    using_table_options(mysql_engine="InnoDB")
126
    using_table_options(mysql_engine="InnoDB")
126
 
127
 
127
class Transaction(Entity):
128
class Transaction(Entity):
128
    id = Field(Integer, primary_key=True, autoincrement=True)
129
    id = Field(Integer, primary_key=True, autoincrement=True)
Line 187... Line 188...
187
    settlementDate = Field(DateTime)
188
    settlementDate = Field(DateTime)
188
    serviceTax = Field(Float)
189
    serviceTax = Field(Float)
189
    otherCharges = Field(Float)
190
    otherCharges = Field(Float)
190
    netCollection = Field(Float)
191
    netCollection = Field(Float)
191
    using_options(shortnames=True)
192
    using_options(shortnames=True)
192
    using_table_options(mysql_engine="InnoDB")
-
 
193
193
    using_table_options(mysql_engine="InnoDB")
-
 
194
 
-
 
195
class CODPaymentSettlement(Entity):
-
 
196
    orderId = Field(Integer, primary_key = True)
-
 
197
    settlementDate = Field(DateTime)
-
 
198
    collection = Field(Float)
-
 
199
    using_options(shortnames = True)
-
 
200
    using_table_options(mysql_engine = "InnoDB")
-
 
201
194
202