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