web.main.model.OrganizativeUnit

Package web :: Package main :: Module model :: Class OrganizativeUnit |
[hide private]
[frames] | no frames]

# Class OrganizativeUnit

source code

    declarative_base() --+
                         |
                        OrganizativeUnit

Instance Methods | [hide private]
__str__(self) | source code
__repr__(self) | source code

Class Methods | [hide private]
fields(self) | source code

Class Variables | [hide private]
| __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`...``

Class Variable Details | [hide private]

  ### parent Value:
      relation("OrganizativeUnit", remote_side= id, primaryjoin= "Organizati
      veUnit.id==OrganizativeUnit.parent_id")