Subversion Repositories SmartDukaan

Rev

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

Rev 13400 Rev 13521
Line 150... Line 150...
150
    coupon_code = Field(String(20))
150
    coupon_code = Field(String(20))
151
    transaction_id = Field(Integer)
151
    transaction_id = Field(Integer)
152
    user_id = Field(Integer)
152
    user_id = Field(Integer)
153
    applied_on = Field(DateTime)
153
    applied_on = Field(DateTime)
154
    promotion_id = Field(Integer)
154
    promotion_id = Field(Integer)
-
 
155
    amount = Field(Integer)
-
 
156
    is_digital  = Field(Boolean)
155
    using_options(shortnames = True)
157
    using_options(shortnames = True)
156
    using_table_options(mysql_engine = "InnoDB")
158
    using_table_options(mysql_engine = "InnoDB")
157
 
159
 
158
class RechargeVoucher(Entity):
160
class RechargeVoucher(Entity):
159
    id = Field(Integer, primary_key = True, autoincrement = True)
161
    id = Field(Integer, primary_key = True, autoincrement = True)