wag-managment-api-service-l.../ApiLayers/LanguageModels/Database/company/department.py

65 lines
2.0 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from ApiLayers.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",
},
)