Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

'''
Created on 05-Jul-2011

@author: Chandranshu
'''
from elixir.entity import Entity
from elixir.fields import Field
from sqlalchemy.types import Integer, String
from elixir.options import using_options, using_table_options


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