Subversion Repositories SmartDukaan

Rev

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

Rev 3187 Rev 4439
Line 84... Line 84...
84
    using_options(shortnames=True)
84
    using_options(shortnames=True)
85
    using_table_options(mysql_engine="InnoDB")
85
    using_table_options(mysql_engine="InnoDB")
86
    
86
    
87
class DestinationProviderAllocation(Entity):
87
class DestinationProviderAllocation(Entity):
88
    destination_pin = Field(String(6), primary_key=True)
88
    destination_pin = Field(String(6), primary_key=True)
89
    warehouse_location = Field(Integer, primary_key=True, autoincrement=False)
-
 
90
    provider_less_amount = ManyToOne("Provider")
89
    provider_less_amount = ManyToOne("Provider")
91
    provider_more_amount = ManyToOne("Provider")
90
    provider_more_amount = ManyToOne("Provider")
92
    using_options(shortnames=True)
91
    using_options(shortnames=True)
93
    using_table_options(mysql_engine="InnoDB")
92
    using_table_options(mysql_engine="InnoDB")
94
    
93