
Department:
Bağımsız bir işi yapan kadrolar tümüne

Staff:
Duty yapacak kadro

Employee:
Staffdaki çalışanlar

İnsan Kaynakları
Department


class ModuleSection:
    module_section = ["Department", "OccupantTypes"]

    ...

Module -> Service -> Event -> 500MB default 0.00TL   core, def
Module -> Service -> Event -> 1GB   price   10.00TL  add-on
Module -> Service -> Event -> 2GB   price   20.00TL  add-on



İç Hizmetler Müdürlüğü


Module: Satış Departmanı Modülü Base 0.00TL
Cari Servisi (Service)
+ Cari Hesap Okuma Event    0.00TL
+ Cari Hesap Uyarma Event   0.00TL
+ Cari Hesap Analiz Event   0.00TL
Toplam: 0.00TL

Module: Satış Departmanı Modülü Permium 30 TL
Cari Servisi Premium (Service)
+ Cari Hesap Okuma Event    0.00TL
+ Cari Hesap Uyarma Event   0.00TL
+ Cari Hesap Analiz Event   0.00TL
+ Cari Hesap Mail Event     10.00TL
+ Cari Hesap SMS Event      20.00TL
Toplam: 30.00TL


Dış Hiztmetler Müdürlüğü

Module (Department) | Service | -> (n) Duty -> Staff -> Employee -> Event
Module (OccupantTypes) | Service | ->  -> (n) Duty -> Staff -> Employee -> LivingSpace -> Event

Service:
OccupantType + Module

OccupantType -> User -> People

Event -> Service

Department -> (n) Module -> Duty -> Staff -> Employee

Mali İşler -> A Muhasabe B Finans ->

user -> people.id + occupant_type.id -> BuildLivingSpace -> Module -> Modules2Occupant -> Event
user -> employee.id -> Duty -> Staff -> Employee -> Event -> Module -> Modules2Employee -> Event

Employee
X Occupant

User:
1. Employee
employee.id () => Module

2. (n) Occupant Types

   -> Daire Sakini () => Module
   -> Daire Sahibi people.id () => Module

   -> Staff ()  people.id X buildmanagment_staff.id => Module

Duty : Employee
User ->

is_occupant: False
Employee
    Staff

is_occupant: True
LivingSpace
    Occupant_Type

class LivingSpace:
    People people.id false
    BuildPart  build.id
    Occupant_type Daire Sakini
    start_date =
    stop_date =
    agremeent_no =


LivingSpace:
    Occupant occupant.id
    LivingSpaceType living_space_type






