Subversion Repositories SmartDukaan

Rev

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

Rev 1249 Rev 1273
Line 130... Line 130...
130
    lines = OneToMany("Line")
130
    lines = OneToMany("Line")
131
    using_options(shortnames=True)
131
    using_options(shortnames=True)
132
    using_table_options(mysql_engine="InnoDB")
132
    using_table_options(mysql_engine="InnoDB")
133
 
133
 
134
#===============================================================================
134
#===============================================================================
-
 
135
# Entity generated from Contact Us form
-
 
136
#===============================================================================
-
 
137
class UserCommunication(Entity):
-
 
138
    id = Field(Integer, primary_key = True, autoincrement = True)
-
 
139
    user_id = Field(Integer)
-
 
140
    communication_type = Field(Integer)
-
 
141
    order_id = Field(Integer)
-
 
142
    airwaybill_no = Field(String(50))
-
 
143
    reply_to = Field(String(50))
-
 
144
    product_name = Field(String(200))
-
 
145
    subject = Field(String(200))
-
 
146
    message = Field(String(600))
-
 
147
    added_at = Field(DateTime)
-
 
148
    using_options(shortnames = True)
-
 
149
    using_table_options(mysql_engine = "InnoDB")
-
 
150
 
-
 
151
#===============================================================================
135
# Different entities for the Widget service
152
# Different entities for the Widget service
136
#===============================================================================
153
#===============================================================================
137
 
154
 
138
class Widget(Entity):
155
class Widget(Entity):
139
    id = Field(Integer, primary_key=True, autoincrement=True)
156
    id = Field(Integer, primary_key=True, autoincrement=True)