Subversion Repositories SmartDukaan

Rev

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

Rev 15377 Rev 15392
Line 34... Line 34...
34
class user_actions(Entity):
34
class user_actions(Entity):
35
    id = Field(Integer(unsigned=True), primary_key=True)
35
    id = Field(Integer(unsigned=True), primary_key=True)
36
    user_id = Field(Integer(unsigned=True))
36
    user_id = Field(Integer(unsigned=True))
37
    store_product_id = Field(Integer(unsigned=True))
37
    store_product_id = Field(Integer(unsigned=True))
38
    action = Field(Enum('like','dislike'))
38
    action = Field(Enum('like','dislike'))
39
    created = Field(DateTime)
39
    created = Field(DateTime, default=func.now())
40
    using_options(shortnames=True)
40
    using_options(shortnames=True)
41
    using_table_options(mysql_engine="InnoDB")
41
    using_table_options(mysql_engine="InnoDB")
42
    
42
    
43
class OnboardedRetailerChecklists(Entity):    
43
class OnboardedRetailerChecklists(Entity):    
44
    id = Field(Integer(unsigned=True), primary_key=True)
44
    id = Field(Integer(unsigned=True), primary_key=True)
Line 48... Line 48...
48
    doa_return_policy = Field(Boolean)
48
    doa_return_policy = Field(Boolean)
49
    payment_option = Field(Boolean)
49
    payment_option = Field(Boolean)
50
    contact_us = Field(Boolean)
50
    contact_us = Field(Boolean)
51
    product_info = Field(Boolean)
51
    product_info = Field(Boolean)
52
    redeem = Field(Boolean)
52
    redeem = Field(Boolean)
53
    created = Field(DateTime)
53
    created = Field(DateTime,default=func.now())
54
    using_options(shortnames=True)
54
    using_options(shortnames=True)
55
    using_table_options(mysql_engine="InnoDB")
55
    using_table_options(mysql_engine="InnoDB")
56
 
56
 
57
class brand_preferences(Entity):
57
class brand_preferences(Entity):
58
    id = Field(Integer(unsigned=True), primary_key=True)
58
    id = Field(Integer(unsigned=True), primary_key=True)