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,65 @@
from LanguageModels.Database.Mixins.crud_mixin import CrudCollectionLanguageModel
RelationshipDutyCompanyLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"owner_id": "Sahip ID",
"duties_id": "Görev ID",
"member_id": "Üye ID",
"parent_id": "Üst ID",
"relationship_type": "İlişki Tipi",
"child_count": "Çocuk Sayısı",
"show_only": "Sadece Göster",
},
en={
**CrudCollectionLanguageModel["en"],
"owner_id": "Owner ID",
"duties_id": "Duties ID",
"member_id": "Member ID",
"parent_id": "Parent ID",
"relationship_type": "Relationship Type",
"child_count": "Child Count",
"show_only": "Show Only",
},
)
CompaniesLanguageModel = dict(
tr={
**CrudCollectionLanguageModel["tr"],
"formal_name": "Resmi Ad",
"company_type": "Şirket Tipi",
"commercial_type": "Ticari Tip",
"tax_no": "Vergi No",
"public_name": "Kamu Adı",
"company_tag": "Şirket Etiketi",
"default_lang_type": "Varsayılan Dil Tipi",
"default_money_type": "Varsayılan Para Tipi",
"is_commercial": "Ticari",
"is_blacklist": "Kara Liste",
"parent_id": "Üst ID",
"workplace_no": "İşyeri No",
"official_address_id": "Resmi Adres ID",
"official_address_uu_id": "Resmi Adres UUID",
"top_responsible_company_id": "Üst Sorumlu Şirket ID",
"top_responsible_company_uu_id": "Üst Sorumlu Şirket UUID",
},
en={
**CrudCollectionLanguageModel["en"],
"formal_name": "Formal Name",
"company_type": "Company Type",
"commercial_type": "Commercial Type",
"tax_no": "Tax No",
"public_name": "Public Name",
"company_tag": "Company Tag",
"default_lang_type": "Default Language Type",
"default_money_type": "Default Money Type",
"is_commercial": "Commercial",
"is_blacklist": "Blacklist",
"parent_id": "Parent ID",
"workplace_no": "Workplace No",
"official_address_id": "Official Address ID",
"official_address_uu_id": "Official Address UUID",
"top_responsible_company_id": "Top Responsible Company ID",
"top_responsible_company_uu_id": "Top Responsible Company UUID",
},
)

View 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",
},
)

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