Subversion Repositories SmartDukaan

Rev

Rev 6307 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6307 anupam.sin 1
'''
2
Created on 06-Nov-2012
3
 
4
@author: anupam
5
'''
6
 
7
 
8
from elixir.entity import Entity
9
from elixir.fields import Field
10
from elixir.options import using_options, using_table_options
11
from sqlalchemy.types import Integer, Boolean
12
 
13
class ServiceAvailability(Entity):
14
    '''
15
    classdocs
16
    '''
17
    operatorId = Field(Integer, primary_key=True, autoincrement=False)
18
    circleId = Field(Integer, primary_key=True, autoincrement=False)
6734 anupam.sin 19
    tempIsServiceAvailable = Field(Boolean)
20
    permIsServiceAvailable = Field(Boolean)
6307 anupam.sin 21
    using_options(shortnames=True)
22
    using_table_options(mysql_engine="InnoDB")
23
 
24
 
25
    def __init__(self):
26
        '''
27
        Constructor
28
        '''