new api service and logic implemented
This commit is contained in:
62
ApiLayers/LanguageModels/Database/company/department.py
Normal file
62
ApiLayers/LanguageModels/Database/company/department.py
Normal file
@@ -0,0 +1,62 @@
|
||||
from LanguageModels.Database.Mixins.crud_mixin import CrudCollectionLanguageModel
|
||||
|
||||
DepartmentsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"parent_department_id": "Üst Departman ID",
|
||||
"department_code": "Departman Kodu",
|
||||
"department_name": "Departman Adı",
|
||||
"department_description": "Departman Açıklaması",
|
||||
"company_id": "Şirket ID",
|
||||
"company_uu_id": "Şirket UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"parent_department_id": "Parent Department ID",
|
||||
"department_code": "Department Code",
|
||||
"department_name": "Department Name",
|
||||
"department_description": "Department Description",
|
||||
"company_id": "Company ID",
|
||||
"company_uu_id": "Company UUID",
|
||||
},
|
||||
)
|
||||
|
||||
DutiesLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"users_default_duty": "Kullanıcılar için Varsayılan Görev",
|
||||
"company_id": "Şirket ID",
|
||||
"company_uu_id": "Şirket UUID",
|
||||
"duties_id": "Görev ID",
|
||||
"duties_uu_id": "Görev UUID",
|
||||
"department_id": "Departman ID",
|
||||
"department_uu_id": "Departman UUID",
|
||||
"management_duty": "Yönetim Görevi",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"users_default_duty": "Default Duty for Users",
|
||||
"company_id": "Company ID",
|
||||
"company_uu_id": "Company UUID",
|
||||
"duties_id": "Duty ID",
|
||||
"duties_uu_id": "Duty UUID",
|
||||
"department_id": "Department ID",
|
||||
"department_uu_id": "Department UUID",
|
||||
"management_duty": "Management Duty",
|
||||
},
|
||||
)
|
||||
|
||||
DutyLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"duty_name": "Görev Adı",
|
||||
"duty_code": "Görev Kodu",
|
||||
"duty_description": "Görev Açıklaması",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"duty_name": "Duty Name",
|
||||
"duty_code": "Duty Code",
|
||||
"duty_description": "Duty Description",
|
||||
},
|
||||
)
|
||||
Reference in New Issue
Block a user