Subversion Repositories SmartDukaan

Rev

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

Rev 5555 Rev 6367
Line 100... Line 100...
100
    rule_execution_src = Field(String(100))
100
    rule_execution_src = Field(String(100))
101
    start_on = Field(DateTime)
101
    start_on = Field(DateTime)
102
    end_on = Field(DateTime)
102
    end_on = Field(DateTime)
103
    coupons = OneToMany("Coupon")
103
    coupons = OneToMany("Coupon")
104
    created_on = Field(DateTime)
104
    created_on = Field(DateTime)
-
 
105
    type = Field(Integer)
105
    using_options(shortnames = True)
106
    using_options(shortnames = True)
106
    using_table_options(mysql_engine = "InnoDB")
107
    using_table_options(mysql_engine = "InnoDB")
107
 
108
 
108
class Coupon(Entity):
109
class Coupon(Entity):
109
    coupon_code = Field(String(20))
110
    coupon_code = Field(String(20))