Subversion Repositories SmartDukaan

Rev

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

Rev 19973 Rev 19975
Line 360... Line 360...
360
class Seller(Entity):
360
class Seller(Entity):
361
    id = Field(Integer, primary_key=True, autoincrement=True)
361
    id = Field(Integer, primary_key=True, autoincrement=True)
362
    organisation_id = Field(Integer)
362
    organisation_id = Field(Integer)
363
    state_id = Field(Integer)
363
    state_id = Field(Integer)
364
    tin = Field(String(15))
364
    tin = Field(String(15))
365
    address = Field(String)
365
    address = Field(String(255))
366
    using_options(shortnames=True)
366
    using_options(shortnames=True)
367
    using_table_options(mysql_engine="InnoDB")
367
    using_table_options(mysql_engine="InnoDB")
368
    
368
    
369
class SellerWarehouse(Entity):
369
class SellerWarehouse(Entity):
370
    id = Field(Integer, default=0)
370
    id = Field(Integer, default=0)