new api service and logic implemented

This commit is contained in:
2025-01-23 22:27:25 +03:00
parent d91ecda9df
commit 32022ca521
245 changed files with 28004 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
from LanguageModels.Database.Mixins.crud_mixin import CrudCollectionLanguageModel
StaffLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"staff_description": "Personel Açıklaması",
"staff_name": "Personel Adı",
"staff_code": "Personel Kodu",
"duties_id": "Görev ID",
"duties_uu_id": "Görev UUID",
},
en={
**CrudCollectionLanguageModel["en"],
"staff_description": "Staff Description",
"staff_name": "Staff Name",
"staff_code": "Staff Code",
"duties_id": "Duty ID",
"duties_uu_id": "Duty UUID",
},
)
EmployeesLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"staff_id": "Personel ID",
"staff_uu_id": "Personel UUID",
"people_id": "Kişi ID",
"people_uu_id": "Kişi UUID",
},
en={
**CrudCollectionLanguageModel["en"],
"staff_id": "Staff ID",
"staff_uu_id": "Staff UUID",
"people_id": "People ID",
"people_uu_id": "People UUID",
},
)
EmployeeHistoryLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"staff_id": "Personel ID",
"staff_uu_id": "Personel UUID",
"people_id": "Kişi ID",
"people_uu_id": "Kişi UUID",
},
en={
**CrudCollectionLanguageModel["en"],
"staff_id": "Staff ID",
"staff_uu_id": "Staff UUID",
"people_id": "People ID",
"people_uu_id": "People UUID",
},
)
EmployeesSalariesLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"gross_salary": "Brüt Maaş",
"net_salary": "Net Maaş",
"people_id": "Kişi ID",
"people_uu_id": "Kişi UUID",
},
en={
**CrudCollectionLanguageModel["en"],
"gross_salary": "Gross Salary",
"net_salary": "Net Salary",
"people_id": "People ID",
"people_uu_id": "People UUID",
},
)