| Home | Trees | Indices | Help |
|---|
|
|
declarative_base() --+
|
OrganizativeUnit
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
__tablename__ = 'organizative_unit'
|
|||
id = Column(Integer, primary_key= True)
|
|||
name = Column(Unicode(120), unique= True)
|
|||
parent_id = Column(Integer, ForeignKey('organizative_unit.id'))
|
|||
description = Column(Unicode(512))
|
|||
childs = relation("OrganizativeUnit")
|
|||
parent = relation("OrganizativeUnit", remote_side= id, primary
|
|||
|
|||
parent
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 4 09:57:29 2010 | http://epydoc.sourceforge.net |