Subversion Repositories SmartDukaan

Rev

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

Rev 11653 Rev 11657
Line 131... Line 131...
131
    
131
    
132
class PrivateDealUser(Entity):
132
class PrivateDealUser(Entity):
133
    id = Field(Integer, primary_key=True)
133
    id = Field(Integer, primary_key=True)
134
    created_on = Field(DateTime)
134
    created_on = Field(DateTime)
135
    isActive = Field(Boolean)
135
    isActive = Field(Boolean)
-
 
136
    using_options(shortnames = True)
-
 
137
    using_table_options(mysql_engine = "InnoDB")
136
 
138
 
137
class Coupon(Entity):
139
class Coupon(Entity):
138
    coupon_code = Field(String(20))
140
    coupon_code = Field(String(20))
139
    promotion = ManyToOne("Promotion")
141
    promotion = ManyToOne("Promotion")
140
    arguments = Field(String(200))
142
    arguments = Field(String(200))