Subversion Repositories SmartDukaan

Rev

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

Rev 5387 Rev 5527
Line 10... Line 10...
10
import elixir
10
import elixir
11
 
11
 
12
class Provider(Entity):
12
class Provider(Entity):
13
    id = Field(Integer, primary_key=True, autoincrement=True)
13
    id = Field(Integer, primary_key=True, autoincrement=True)
14
    name = Field(String(100))
14
    name = Field(String(100))
-
 
15
    pickup = Field(Integer)
15
    isActive = Field(Boolean)
16
    isActive = Field(Boolean)
16
    details = OneToMany("ProviderDetails")
17
    details = OneToMany("ProviderDetails")
17
    using_options(shortnames=True)
18
    using_options(shortnames=True)
18
    using_table_options(mysql_engine="InnoDB")
19
    using_table_options(mysql_engine="InnoDB")
19
 
20