Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Party:
- columns:
- is_active: {type: boolean, default: true}
- Company
- email: {type: string(255), notnull: true, unique: true}
- password: {type: string(255), notnull: true}
- dm_user_id: {type: integer(11)}
- relations:
- User:
- class: DmUser
- type: one
- foreignType: one
- local: dm_user_id
- foreign: id
- foreignAlias: Party
- IrdvPartyState:
- columns:
- party_id: {type: integer(11), notnull: true}
- state: {type: enum, values: [STATE_ACTIVATED, STATE_DEACTIVATED], default: STATE_ACTIVATED}
- from_date: {type: timestamp}
- to_date: {type: timestamp}
- relations:
- Party:
- class: IrdvParty
- type: one
- foreignType: many
- local: party_id
- foreign: id
- foreignAlias: States
- DmUser:
- columns:
- party_type: {type: string(40)}
- party_id: {type: integer(11)}
- Person:
- inheritance:
- type: concrete
- extends: Party
- columns:
- birth_day: {type: date}
- first_name: {type: string(255), notnull: true}
- last_name: {type: string(255), notnull: true}
- Customer:
- inheritance:
- type: concrete
- extends: Person
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement