Subversion Repositories SmartDukaan

Rev

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

Rev 6580 Rev 6591
Line 246... Line 246...
246
    chargeType = Field(Integer, primary_key=True, autoincrement=False)
246
    chargeType = Field(Integer, primary_key=True, autoincrement=False)
247
    chargeAmount = Field(Float)
247
    chargeAmount = Field(Float)
248
    using_options(shortnames=True)
248
    using_options(shortnames=True)
249
    using_table_options(mysql_engine="InnoDB")
249
    using_table_options(mysql_engine="InnoDB")
250
    
250
    
251
class DeniedIpRange(Entity):
251
class BlockedIpRange(Entity):
252
    id = Field(Integer, primary_key=True, autoincrement=True)
252
    id = Field(Integer, primary_key=True, autoincrement=True)
253
    start = Field(Integer)
253
    start = Field(Integer)
254
    end = Field(Integer)
254
    end = Field(Integer)
-
 
255
    expiredOn = Field(DateTime)
-
 
256
    using_options(shortnames=True)
-
 
257
    using_table_options(mysql_engine="InnoDB")
-
 
258
 
-
 
259
class DeniedIpAddress(Entity):
-
 
260
    id = Field(Integer, primary_key=True, autoincrement=True)
-
 
261
    ip = Field(String(256))
-
 
262
    deniedOn = Field(DateTime)
-
 
263
    rechargeType = Field(Integer)
-
 
264
    deviceNumber = Field(String(128))
255
    using_options(shortnames=True)
265
    using_options(shortnames=True)
256
    using_table_options(mysql_engine="InnoDB")
266
    using_table_options(mysql_engine="InnoDB")
257
267