Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6289 anupam.sin 1
'''
2
Created on 30-Oct-2012
3
 
4
@author: anupam
5
'''
6
 
7
from elixir.entity import Entity
8
from elixir.fields import Field
9
from elixir.options import using_options, using_table_options
10
from sqlalchemy.types import String
11
 
12
class TelecomCircle(Entity):
13
    '''
14
    classdocs
15
    '''
16
    name = Field(String(256))
17
    code = Field(String(8))
18
    using_options(shortnames=True)
19
    using_table_options(mysql_engine="InnoDB")
20
 
21
 
22
    def __init__(self):
23
        '''
24
        Constructor
25
        '''