Subversion Repositories SmartDukaan

Rev

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

Rev 5966 Rev 5978
Line 133... Line 133...
133
    using_options(shortnames=True)
133
    using_options(shortnames=True)
134
    using_table_options(mysql_engine="InnoDB")
134
    using_table_options(mysql_engine="InnoDB")
135
 
135
 
136
class ItemAvailabilityCache(Entity):
136
class ItemAvailabilityCache(Entity):
137
    itemId = Field(Integer, primary_key=True, autoincrement=False)
137
    itemId = Field(Integer, primary_key=True, autoincrement=False)
-
 
138
    sourceId = Field(Integer, primary_key=True, autoincrement=False)
138
    warehouseId = Field(Integer)
139
    warehouseId = Field(Integer)
139
    expectedDelay = Field(Integer)
140
    expectedDelay = Field(Integer)
140
    billingWarehouseId = Field(Integer)
141
    billingWarehouseId = Field(Integer)
141
    sellingPrice = Field(Float) 
142
    sellingPrice = Field(Float) 
142
    totalAvailability = Field(Integer)
143
    totalAvailability = Field(Integer)