Subversion Repositories SmartDukaan

Rev

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

Rev 7627 Rev 7792
Line 19... Line 19...
19
    using_table_options(mysql_engine="InnoDB")
19
    using_table_options(mysql_engine="InnoDB")
20
 
20
 
21
class ProviderDetails(Entity):
21
class ProviderDetails(Entity):
22
    provider = ManyToOne("Provider", primary_key=True)
22
    provider = ManyToOne("Provider", primary_key=True)
23
    type = Field(Integer, primary_key=True, autoincrement=False)
23
    type = Field(Integer, primary_key=True, autoincrement=False)
-
 
24
    logisticLocation = Field(Integer, primary_key=True, autoincrement=False)
24
    accountNo = Field(String(10))
25
    accountNo = Field(String(10))
25
    email = Field(String(100))
26
    email = Field(String(100))
26
    phone = Field(String(15))    
27
    phone = Field(String(15))
27
    using_options(shortnames=True)
28
    using_options(shortnames=True)
28
    using_table_options(mysql_engine="InnoDB")
29
    using_table_options(mysql_engine="InnoDB")
29
    
30
    
30
class Awb(Entity):
31
class Awb(Entity):
31
    id = Field(Integer, primary_key=True, autoincrement=True)
32
    id = Field(Integer, primary_key=True, autoincrement=True)