Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

'''
Created on 26-Sep-2012

@author: Rajveer
'''

from elixir.entity import Entity
from elixir.fields import Field
from sqlalchemy.types import String, Integer
from elixir.options import using_options, using_table_options

class ServiceProvider(Entity):
    '''
    classdocs
    '''
    id = Field(Integer, primary_key=True, autoincrement=True)
    type = Field(Integer)
    name = Field(String(50))
    code = Field(String(30))
    status = Field(Integer)
    using_options(shortnames=True)
    using_table_options(mysql_engine="InnoDB")