Subversion Repositories SmartDukaan

Rev

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

Rev 19977 Rev 19978
Line 357... Line 357...
357
    using_options(shortnames=True)
357
    using_options(shortnames=True)
358
    using_table_options(mysql_engine="InnoDB")
358
    using_table_options(mysql_engine="InnoDB")
359
 
359
 
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
    label=Field(String(31), unique=True)
362
    organisation_id = Field(Integer)
363
    organisation_id = Field(Integer)
363
    state_id = Field(Integer)
364
    state_id = Field(Integer)
364
    tin = Field(String(15))
365
    tin = Field(String(15))
365
    address = Field(String(255))
366
    address = Field(String(255))
366
    using_options(shortnames=True)
367
    using_options(shortnames=True)