Subversion Repositories SmartDukaan

Rev

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

Rev 20769 Rev 20837
Line 26... Line 26...
26
    type = Field(Integer, primary_key=True, autoincrement=False)
26
    type = Field(Integer, primary_key=True, autoincrement=False)
27
    logisticLocation = Field(Integer, primary_key=True, autoincrement=False)
27
    logisticLocation = Field(Integer, primary_key=True, autoincrement=False)
28
    accountNo = Field(String(10))
28
    accountNo = Field(String(10))
29
    email = Field(String(100))
29
    email = Field(String(100))
30
    phone = Field(String(15))
30
    phone = Field(String(15))
-
 
31
    active = Field(Boolean)
31
    using_options(shortnames=True)
32
    using_options(shortnames=True)
32
    using_table_options(mysql_engine="InnoDB")
33
    using_table_options(mysql_engine="InnoDB")
33
    
34
    
34
class Awb(Entity):
35
class Awb(Entity):
35
    id = Field(Integer, primary_key=True, autoincrement=True)
36
    id = Field(Integer, primary_key=True, autoincrement=True)