Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
2448 chandransh 1
'''
2
Created on 05-Jul-2011
3
 
4
@author: Chandranshu
5
'''
6
from elixir.entity import Entity
7
from elixir.fields import Field
8
from sqlalchemy.types import Integer, String
9
from elixir.options import using_options, using_table_options
10
 
11
 
12
class Test1(Entity):
13
    '''
14
    classdocs
15
    '''
16
    id = Field(Integer, primary_key=True, autoincrement=True)
17
    name=Field(String(50))
18
    using_options(shortnames=True)
19
    using_table_options(mysql_engine="InnoDB")