Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | 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)
19
    isServiceAvailable = Field(Boolean)
20
    using_options(shortnames=True)
21
    using_table_options(mysql_engine="InnoDB")
22
 
23
 
24
    def __init__(self):
25
        '''
26
        Constructor
27
        '''