Subversion Repositories SmartDukaan

Rev

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

Rev 13146 Rev 19413
Line 84... Line 84...
84
class PublicHolidays(Entity):
84
class PublicHolidays(Entity):
85
    date = Field(Date, primary_key=True)
85
    date = Field(Date, primary_key=True)
86
    occasion = Field(String(100))
86
    occasion = Field(String(100))
87
    using_options(shortnames=True)
87
    using_options(shortnames=True)
88
    using_table_options(mysql_engine="InnoDB")
88
    using_table_options(mysql_engine="InnoDB")
-
 
89
 
-
 
90
class Locations(Entity):
-
 
91
    id = Field(Integer, primary_key=True)
-
 
92
    state_id = Field(Integer)
-
 
93
    label = Field(String(50))
-
 
94
    description = Field(String(100))
-
 
95
    using_options(shortnames=True)
-
 
96
    using_table_options(mysql_engine="InnoDB")
89
 
97
 
90
class PickupStore(Entity):
98
class PickupStore(Entity):
91
    id = Field(Integer, primary_key=True)
99
    id = Field(Integer, primary_key=True)
92
    hotspotId = Field(String(3))
100
    hotspotId = Field(String(3))
93
    name = Field(String(100))
101
    name = Field(String(100))