MambuPy.orm.schema_branches
Schema table for Mambu Branches.
Todo
this is just a basic schema for branches. Some fields are missing.
Classes
|
Branch table. |
- class MambuPy.orm.schema_branches.Branch(**kwargs)[source]
Bases:
Base
Branch table. Related with client
- __init__(**kwargs)
A simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in
kwargs
.Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.
- __mapper__ = <Mapper at 0x7f136d9ecc70; Branch>
- __module__ = 'MambuPy.orm.schema_branches'
- __table__ = Table('branch', MetaData(bind=None), Column('encodedKey', String(), table=<branch>, primary_key=True, nullable=False), Column('id', String(), table=<branch>), Column('name', String(), table=<branch>), Column('notes', String(), table=<branch>), Column('phoneNumber', String(), table=<branch>), Column('emailAddress', String(), table=<branch>), Column('state', String(), table=<branch>), Column('creationDate', DateTime(), table=<branch>), Column('lastModifiedDate', DateTime(), table=<branch>), schema='mambu_db')
- __table_args__ = {'keep_existing': True, 'schema': 'mambu_db'}
- __tablename__ = 'branch'
- _sa_class_manager = {'activities': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'addresses': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'centres': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'clients': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'creationDate': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'customInformation': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'emailAddress': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'encodedKey': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'groups': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'lastModifiedDate': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'loans': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'notes': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'phoneNumber': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'state': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'users': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}
- activities
- addresses
- centres
- clients
- creationDate
- customInformation
- emailAddress
- encodedKey
- groups
- id
- lastModifiedDate
- loans
- name
- notes
- phoneNumber
- state
- users