new api service and logic implemented
This commit is contained in:
71
ApiLayers/LanguageModels/Database/company/employee.py
Normal file
71
ApiLayers/LanguageModels/Database/company/employee.py
Normal 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",
|
||||
},
|
||||
)
|
||||
Reference in New Issue
Block a user