Subversion Repositories SmartDukaan

Rev

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

Rev 13399 Rev 13400
Line 132... Line 132...
132
    id = Field(Integer, primary_key=True)
132
    id = Field(Integer, primary_key=True)
133
    counter = ManyToOne("Counter")
133
    counter = ManyToOne("Counter")
134
    tin = Field(String(20))
134
    tin = Field(String(20))
135
    created_on = Field(DateTime)
135
    created_on = Field(DateTime)
136
    isActive = Field(Boolean)
136
    isActive = Field(Boolean)
137
    bulkShipmentAmountLimit = Field(Float, default=0)
137
    bulkShipmentAmountLimit = Field(Float, default=50000)
138
    using_options(shortnames = True)
138
    using_options(shortnames = True)
139
    using_table_options(mysql_engine = "InnoDB")
139
    using_table_options(mysql_engine = "InnoDB")
140
 
140
 
141
class Coupon(Entity):
141
class Coupon(Entity):
142
    coupon_code = Field(String(20))
142
    coupon_code = Field(String(20))