Subversion Repositories SmartDukaan

Rev

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

Rev 9495 Rev 9665
Line 167... Line 167...
167
    using_options(shortnames=True)
167
    using_options(shortnames=True)
168
    using_table_options(mysql_engine="InnoDB")
168
    using_table_options(mysql_engine="InnoDB")
169
    
169
    
170
class OOSStatus(Entity):
170
class OOSStatus(Entity):
171
    item_id = Field(Integer, primary_key=True, autoincrement=False)
171
    item_id = Field(Integer, primary_key=True, autoincrement=False)
-
 
172
    sourceId = Field(Integer, primary_key=True, autoincrement=False)
172
    date = Field(DateTime, primary_key=True, autoincrement=False)
173
    date = Field(DateTime, primary_key=True, autoincrement=False)
173
    is_oos = Field(Boolean)
174
    is_oos = Field(Boolean)
174
    num_orders = Field(Integer)
175
    num_orders = Field(Integer)
175
    rto_orders = Field(Integer)
176
    rto_orders = Field(Integer)
176
    using_options(shortnames=True)
177
    using_options(shortnames=True)