Subversion Repositories SmartDukaan

Rev

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

Rev 19832 Rev 19950
Line 36... Line 36...
36
    using_options(shortnames=True)
36
    using_options(shortnames=True)
37
    using_table_options(mysql_engine="InnoDB")   
37
    using_table_options(mysql_engine="InnoDB")   
38
    
38
    
39
class InvoiceCounterGenerator(Entity):
39
class InvoiceCounterGenerator(Entity):
40
    id = Field(Integer)
40
    id = Field(Integer)
-
 
41
    companyId = Field(Integer, primary_key = True)
41
    orderType = Field(Integer, primary_key = True)
42
    orderType = Field(Integer, primary_key = True)
42
    stateId = Field(Integer, primary_key = True)
43
    stateId = Field(Integer, primary_key = True)
43
    prefix = Field(String(20))
44
    prefix = Field(String(20))
44
    using_options(shortnames=True)
45
    using_options(shortnames=True)
45
    using_table_options(mysql_engine="InnoDB")
46
    using_table_options(mysql_engine="InnoDB")