Subversion Repositories SmartDukaan

Rev

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

Rev 8282 Rev 8363
Line 485... Line 485...
485
    using_options(shortnames=True)
485
    using_options(shortnames=True)
486
    using_table_options(mysql_engine="InnoDB")
486
    using_table_options(mysql_engine="InnoDB")
487
 
487
 
488
class AmazonFbaSalesSnapshot(Entity):
488
class AmazonFbaSalesSnapshot(Entity):
489
    dateOfSale = Field(Date, primary_key=True)
489
    dateOfSale = Field(Date, primary_key=True)
490
    item_id = Field(Integer, primary_key=True)
490
    item_id = Field(Integer, primary_key=True,autoincrement=False)
491
    orderCount = Field(Integer)
491
    totalOrderCount = Field(Integer)
492
    amazonFbaInventory = Field(Integer)
492
    amazonFbaInventory = Field(Integer)
493
    isOutOfStock = Field(Boolean)
493
    isOutOfStock = Field(Boolean)
494
    salePrice = Field(Float)
494
    salePrice = Field(Float)
495
    minFbaPrice = Field(Float)
495
    minFbaPrice = Field(Float)
496
    minMfnPrice = Field(Float) 
496
    minMfnPrice = Field(Float)
-
 
497
    totalSale = Field(Float)
-
 
498
    promotionSale =  Field(Float)
-
 
499
    promotionOrderCount = Field(Integer)
497
    using_options(shortnames=True)
500
    using_options(shortnames=True)
498
    using_table_options(mysql_engine="InnoDB")
501
    using_table_options(mysql_engine="InnoDB")
499
    
502
    
500
503