new api service and logic implemented
This commit is contained in:
42
ApiLayers/LanguageModels/Database/Mixins/crud_mixin.py
Normal file
42
ApiLayers/LanguageModels/Database/Mixins/crud_mixin.py
Normal file
@@ -0,0 +1,42 @@
|
||||
CrudCollectionLanguageModel = dict(
|
||||
tr={
|
||||
"id": "ID",
|
||||
"uu_id": "UUID",
|
||||
"ref_id": "Referans ID",
|
||||
"created_at": "Oluşturulma Tarihi",
|
||||
"updated_at": "Güncellenme Tarihi",
|
||||
"cryp_uu_id": "Şifreli ID",
|
||||
"created_by": "Oluşturan",
|
||||
"created_by_id": "Oluşturan ID",
|
||||
"updated_by": "Güncelleyen",
|
||||
"updated_by_id": "Güncelleyen ID",
|
||||
"confirmed_by": "Onaylayan",
|
||||
"confirmed_by_id": "Onaylayan ID",
|
||||
"is_confirmed": "Onay Durumu",
|
||||
"replication_id": "Replikasyon ID",
|
||||
"deleted": "Silindi",
|
||||
"active": "Aktif",
|
||||
"is_notification_send": "Bildirim Gönderildi",
|
||||
"is_email_send": "E-posta Gönderildi",
|
||||
},
|
||||
en={
|
||||
"id": "Identity",
|
||||
"uu_id": "UUID",
|
||||
"ref_id": "Reference Identity",
|
||||
"created_at": "Created At",
|
||||
"updated_at": "Updated At",
|
||||
"cryp_uu_id": "Encrypted Identity",
|
||||
"created_by": "Created By",
|
||||
"created_by_id": "Created By Identity",
|
||||
"updated_by": "Updated By",
|
||||
"updated_by_id": "Updated By Identity",
|
||||
"confirmed_by": "Confirmed By",
|
||||
"confirmed_by_id": "Confirmed By Identity",
|
||||
"is_confirmed": "Confirmation Status",
|
||||
"replication_id": "Replication Identity",
|
||||
"deleted": "Deleted",
|
||||
"active": "Active",
|
||||
"is_notification_send": "Notification Sent",
|
||||
"is_email_send": "Email Sent",
|
||||
},
|
||||
)
|
||||
0
ApiLayers/LanguageModels/Database/__init__.py
Normal file
0
ApiLayers/LanguageModels/Database/__init__.py
Normal file
388
ApiLayers/LanguageModels/Database/account/account.py
Normal file
388
ApiLayers/LanguageModels/Database/account/account.py
Normal file
@@ -0,0 +1,388 @@
|
||||
from LanguageModels.Database.Mixins.crud_mixin import CrudCollectionLanguageModel
|
||||
|
||||
AccountBooksLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"country": "Ülke",
|
||||
"branch_type": "Şube Türü",
|
||||
"company_id": "Şirket ID",
|
||||
"company_uu_id": "Şirket UU ID",
|
||||
"branch_id": "Şube ID",
|
||||
"branch_uu_id": "Şube UU ID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"country": "Country",
|
||||
"branch_type": "Branch Type",
|
||||
"company_id": "Company ID",
|
||||
"company_uu_id": "Company UU ID",
|
||||
"branch_id": "Branch ID",
|
||||
"branch_uu_id": "Branch UU ID",
|
||||
},
|
||||
)
|
||||
|
||||
AccountCodesLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"account_code": "Hesap Kodu",
|
||||
"comment_line": "Yorum Satırı",
|
||||
"is_receive_or_debit": "Alacak veya Borç",
|
||||
"product_id": "Ürün ID",
|
||||
"nvi_id": "Nvi ID",
|
||||
"status_id": "Durum ID",
|
||||
"account_code_seperator": "Hesap Kodu Ayırıcı",
|
||||
"system_id": "Sistem ID",
|
||||
"locked": "Kilitli",
|
||||
"company_id": "Şirket ID",
|
||||
"company_uu_id": "Şirket UU ID",
|
||||
"customer_id": "Müşteri ID",
|
||||
"customer_uu_id": "Müşteri UU ID",
|
||||
"person_id": "Kişi ID",
|
||||
"person_uu_id": "Kişi UU ID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"account_code": "Account Code",
|
||||
"comment_line": "Comment Line",
|
||||
"is_receive_or_debit": "Is Receive or Debit",
|
||||
"product_id": "Product ID",
|
||||
"nvi_id": "Nvi ID",
|
||||
"status_id": "Status ID",
|
||||
"account_code_seperator": "Account Code Seperator",
|
||||
"system_id": "System ID",
|
||||
"locked": "Locked",
|
||||
"company_id": "Company ID",
|
||||
"company_uu_id": "Company UU ID",
|
||||
"customer_id": "Customer ID",
|
||||
"customer_uu_id": "Customer UU ID",
|
||||
"person_id": "Person ID",
|
||||
"person_uu_id": "Person UU ID",
|
||||
},
|
||||
)
|
||||
|
||||
AccountCodeParserLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"account_code_1": "Hesap Kodu 1",
|
||||
"account_code_2": "Hesap Kodu 2",
|
||||
"account_code_3": "Hesap Kodu 3",
|
||||
"account_code_4": "Hesap Kodu 4",
|
||||
"account_code_5": "Hesap Kodu 5",
|
||||
"account_code_6": "Hesap Kodu 6",
|
||||
"account_code_id": "Hesap Kodu ID",
|
||||
"account_code_uu_id": "Hesap Kodu UU ID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"account_code_1": "Account Code 1",
|
||||
"account_code_2": "Account Code 2",
|
||||
"account_code_3": "Account Code 3",
|
||||
"account_code_4": "Account Code 4",
|
||||
"account_code_5": "Account Code 5",
|
||||
"account_code_6": "Account Code 6",
|
||||
"account_code_id": "Account Code ID",
|
||||
"account_code_uu_id": "Account Code UU ID",
|
||||
},
|
||||
)
|
||||
|
||||
AccountMasterLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"doc_date": "Belge Tarihi",
|
||||
"plug_type": "Fiş Türü",
|
||||
"plug_number": "Fiş Numarası",
|
||||
"special_code": "Özel Kod",
|
||||
"authorization_code": "Yetki Kodu",
|
||||
"doc_code": "Belge Kodu",
|
||||
"doc_type": "Belge Türü",
|
||||
"comment_line1": "Yorum Satırı 1",
|
||||
"comment_line2": "Yorum Satırı 2",
|
||||
"comment_line3": "Yorum Satırı 3",
|
||||
"comment_line4": "Yorum Satırı 4",
|
||||
"comment_line5": "Yorum Satırı 5",
|
||||
"comment_line6": "Yorum Satırı 6",
|
||||
"project_code": "Proje Kodu",
|
||||
"module_no": "Modül No",
|
||||
"journal_no": "Defter No",
|
||||
"status_id": "Durum ID",
|
||||
"canceled": "İptal Edildi",
|
||||
"print_count": "Yazdırma Sayısı",
|
||||
"total_active": "Toplam Aktif",
|
||||
"total_passive": "Toplam Pasif",
|
||||
"total_active_1": "Toplam Aktif 1",
|
||||
"total_passive_1": "Toplam Pasif 1",
|
||||
"total_active_2": "Toplam Aktif 2",
|
||||
"total_passive_2": "Toplam Pasif 2",
|
||||
"total_active_3": "Toplam Aktif 3",
|
||||
"total_passive_3": "Toplam Pasif 3",
|
||||
"total_active_4": "Toplam Aktif 4",
|
||||
"total_passive_4": "Toplam Pasif 4",
|
||||
"cross_ref": "Çapraz Referans",
|
||||
"data_center_id": "Veri Merkezi ID",
|
||||
"data_center_rec_num": "Veri Merkezi Kayıt Numarası",
|
||||
"account_header_id": "Hesap Başlığı ID",
|
||||
"account_header_uu_id": "Hesap Başlığı UU ID",
|
||||
"project_item_id": "Proje Öğesi ID",
|
||||
"project_item_uu_id": "Proje Öğesi UU ID",
|
||||
"department_id": "Departman ID",
|
||||
"department_uu_id": "Departman UU ID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"doc_date": "Document Date",
|
||||
"plug_type": "Plug Type",
|
||||
"plug_number": "Plug Number",
|
||||
"special_code": "Special Code",
|
||||
"authorization_code": "Authorization Code",
|
||||
"doc_code": "Document Code",
|
||||
"doc_type": "Document Type",
|
||||
"comment_line1": "Comment Line 1",
|
||||
"comment_line2": "Comment Line 2",
|
||||
"comment_line3": "Comment Line 3",
|
||||
"comment_line4": "Comment Line 4",
|
||||
"comment_line5": "Comment Line 5",
|
||||
"comment_line6": "Comment Line 6",
|
||||
"project_code": "Project Code",
|
||||
"module_no": "Module No",
|
||||
"journal_no": "Journal No",
|
||||
"status_id": "Status ID",
|
||||
"canceled": "Canceled",
|
||||
"print_count": "Print Count",
|
||||
"total_active": "Total Active",
|
||||
"total_passive": "Total Passive",
|
||||
"total_active_1": "Total Active 1",
|
||||
"total_passive_1": "Total Passive 1",
|
||||
"total_active_2": "Total Active 2",
|
||||
"total_passive_2": "Total Passive 2",
|
||||
"total_active_3": "Total Active 3",
|
||||
"total_passive_3": "Total Passive 3",
|
||||
"total_active_4": "Total Active 4",
|
||||
"total_passive_4": "Total Passive 4",
|
||||
"cross_ref": "Cross Reference",
|
||||
"data_center_id": "Data Center ID",
|
||||
"data_center_rec_num": "Data Center Record Number",
|
||||
"account_header_id": "Account Header ID",
|
||||
"account_header_uu_id": "Account Header UU ID",
|
||||
"project_item_id": "Project Item ID",
|
||||
"project_item_uu_id": "Project Item UU ID",
|
||||
"department_id": "Department ID",
|
||||
"department_uu_id": "Department UU ID",
|
||||
},
|
||||
)
|
||||
|
||||
AccountDetailLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"doc_date": "Belge Tarihi",
|
||||
"plug_type": "Fiş Türü",
|
||||
"plug_number": "Fiş Numarası",
|
||||
"special_code": "Özel Kod",
|
||||
"authorization_code": "Yetki Kodu",
|
||||
"doc_code": "Belge Kodu",
|
||||
"doc_type": "Belge Türü",
|
||||
"comment_line1": "Yorum Satırı 1",
|
||||
"comment_line2": "Yorum Satırı 2",
|
||||
"comment_line3": "Yorum Satırı 3",
|
||||
"comment_line4": "Yorum Satırı 4",
|
||||
"comment_line5": "Yorum Satırı 5",
|
||||
"comment_line6": "Yorum Satırı 6",
|
||||
"project_code": "Proje Kodu",
|
||||
"module_no": "Modül No",
|
||||
"journal_no": "Defter No",
|
||||
"status_id": "Durum ID",
|
||||
"canceled": "İptal Edildi",
|
||||
"print_count": "Yazdırma Sayısı",
|
||||
"total_active": "Toplam Aktif",
|
||||
"total_passive": "Toplam Pasif",
|
||||
"total_active_1": "Toplam Aktif 1",
|
||||
"total_passive_1": "Toplam Pasif 1",
|
||||
"total_active_2": "Toplam Aktif 2",
|
||||
"total_passive_2": "Toplam Pasif 2",
|
||||
"total_active_3": "Toplam Aktif 3",
|
||||
"total_passive_3": "Toplam Pasif 3",
|
||||
"total_active_4": "Toplam Aktif 4",
|
||||
"total_passive_4": "Toplam Pasif 4",
|
||||
"cross_ref": "Çapraz Referans",
|
||||
"data_center_id": "Veri Merkezi ID",
|
||||
"data_center_rec_num": "Veri Merkezi Kayıt Numarası",
|
||||
"account_header_id": "Hesap Başlığı ID",
|
||||
"account_header_uu_id": "Hesap Başlığı UU ID",
|
||||
"project_item_id": "Proje Öğesi ID",
|
||||
"project_item_uu_id": "Proje Öğesi UU ID",
|
||||
"department_id": "Departman ID",
|
||||
"department_uu_id": "Departman UU ID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"doc_date": "Document Date",
|
||||
"plug_type": "Plug Type",
|
||||
"plug_number": "Plug Number",
|
||||
"special_code": "Special Code",
|
||||
"authorization_code": "Authorization Code",
|
||||
"doc_code": "Document Code",
|
||||
"doc_type": "Document Type",
|
||||
"comment_line1": "Comment Line 1",
|
||||
"comment_line2": "Comment Line 2",
|
||||
"comment_line3": "Comment Line 3",
|
||||
"comment_line4": "Comment Line 4",
|
||||
"comment_line5": "Comment Line 5",
|
||||
"comment_line6": "Comment Line 6",
|
||||
"project_code": "Project Code",
|
||||
"module_no": "Module No",
|
||||
"journal_no": "Journal No",
|
||||
"status_id": "Status ID",
|
||||
"canceled": "Canceled",
|
||||
"print_count": "Print Count",
|
||||
"total_active": "Total Active",
|
||||
"total_passive": "Total Passive",
|
||||
"total_active_1": "Total Active 1",
|
||||
"total_passive_1": "Total Passive 1",
|
||||
"total_active_2": "Total Active 2",
|
||||
"total_passive_2": "Total Passive 2",
|
||||
"total_active_3": "Total Active 3",
|
||||
"total_passive_3": "Total Passive 3",
|
||||
"total_active_4": "Total Active 4",
|
||||
"total_passive_4": "Total Passive 4",
|
||||
"cross_ref": "Cross Reference",
|
||||
"data_center_id": "Data Center ID",
|
||||
"data_center_rec_num": "Data Center Record Number",
|
||||
"account_header_id": "Account Header ID",
|
||||
"account_header_uu_id": "Account Header UU ID",
|
||||
"project_item_id": "Project Item ID",
|
||||
"project_item_uu_id": "Project Item UU ID",
|
||||
"department_id": "Department ID",
|
||||
"department_uu_id": "Department UU ID",
|
||||
},
|
||||
)
|
||||
|
||||
AccountRecordsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"iban": "IBAN",
|
||||
"bank_date": "Banka Tarihi",
|
||||
"currency_value": "Döviz Değeri",
|
||||
"bank_balance": "Banka Bakiyesi",
|
||||
"currency": "Döviz",
|
||||
"additional_balance": "Ek Bakiye",
|
||||
"channel_branch": "Kanal Şubesi",
|
||||
"process_name": "İşlem Türü Adı",
|
||||
"process_type": "İşlem Türü",
|
||||
"process_comment": "İşlem Kayıt Yorumu",
|
||||
"process_garbage": "İşlem Kayıt Çöpü",
|
||||
"bank_reference_code": "Banka Referans Kodu",
|
||||
"add_comment_note": "Yorum Not Ekle",
|
||||
"is_receipt_mail_send": "Alındı Mail Gönderildi",
|
||||
"found_from": "Bulunduğu",
|
||||
"similarity": "Benzerlik",
|
||||
"remainder_balance": "Kalan Bakiye",
|
||||
"bank_date_y": "Banka Tarihi Yıl",
|
||||
"bank_date_m": "Banka Tarihi Ay",
|
||||
"bank_date_w": "Banka Tarihi Hafta",
|
||||
"bank_date_d": "Banka Tarihi Gün",
|
||||
"approving_accounting_record": "Onaylayan Muhasebe Kaydı",
|
||||
"accounting_receipt_date": "Muhasebe Alındı Tarihi",
|
||||
"accounting_receipt_number": "Muhasebe Alındı Numarası",
|
||||
"status_id": "Durum ID",
|
||||
"approved_record": "Onaylanmış Kayıt",
|
||||
"import_file_name": "İçe Aktarım Dosya Adı",
|
||||
"receive_debit": "Alacak Borç",
|
||||
"receive_debit_uu_id": "Alacak Borç UU ID",
|
||||
"budget_type": "Bütçe Türü",
|
||||
"budget_type_uu_id": "Bütçe Türü UU ID",
|
||||
"company_id": "Şirket ID",
|
||||
"company_uu_id": "Şirket UU ID",
|
||||
"send_company_id": "Gönderen Şirket ID",
|
||||
"send_company_uu_id": "Gönderen Şirket UU ID",
|
||||
"send_person_id": "Gönderen Kişi ID",
|
||||
"send_person_uu_id": "Gönderen Kişi UU ID",
|
||||
"approving_accounting_person": "Onaylayan Muhasebe Kişi",
|
||||
"approving_accounting_person_uu_id": "Onaylayan Muhasebe Kişi UU ID",
|
||||
"living_space_id": "Yaşam Alanı ID",
|
||||
"living_space_uu_id": "Yaşam Alanı UU ID",
|
||||
"customer_id": "Müşteri ID",
|
||||
"customer_uu_id": "Müşteri UU ID",
|
||||
"build_id": "Bina ID",
|
||||
"build_uu_id": "Bina UU ID",
|
||||
"build_parts_id": "Bina Parça ID",
|
||||
"build_parts_uu_id": "Bina Parça UU ID",
|
||||
"build_decision_book_id": "Bina Karar Defteri ID",
|
||||
"build_decision_book_uu_id": "Bina Karar Defteri UU ID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"iban": "IBAN",
|
||||
"bank_date": "Bank Date",
|
||||
"currency_value": "Currency Value",
|
||||
"bank_balance": "Bank Balance",
|
||||
"currency": "Currency",
|
||||
"additional_balance": "Additional Balance",
|
||||
"channel_branch": "Channel Branch",
|
||||
"process_name": "Process Type Name",
|
||||
"process_type": "Process Type",
|
||||
"process_comment": "Process Record Comment",
|
||||
"process_garbage": "Process Record Garbage",
|
||||
"bank_reference_code": "Bank Reference Code",
|
||||
"add_comment_note": "Add Comment Note",
|
||||
"is_receipt_mail_send": "Is Receipt Mail Send",
|
||||
"found_from": "Found From",
|
||||
"similarity": "Similarity",
|
||||
"remainder_balance": "Remainder Balance",
|
||||
"bank_date_y": "Bank Date Year",
|
||||
"bank_date_m": "Bank Date Month",
|
||||
"bank_date_w": "Bank Date Week",
|
||||
"bank_date_d": "Bank Date Day",
|
||||
"approving_accounting_record": "Approving Accounting Record",
|
||||
"accounting_receipt_date": "Accounting Receipt Date",
|
||||
"accounting_receipt_number": "Accounting Receipt Number",
|
||||
"status_id": "Status ID",
|
||||
"approved_record": "Approved Record",
|
||||
"import_file_name": "Import File Name",
|
||||
"receive_debit": "Receive Debit",
|
||||
"receive_debit_uu_id": "Receive Debit UU ID",
|
||||
"budget_type": "Budget Type",
|
||||
"budget_type_uu_id": "Budget Type UU ID",
|
||||
"company_id": "Company ID",
|
||||
"company_uu_id": "Company UU ID",
|
||||
"send_company_id": "Send Company ID",
|
||||
"send_company_uu_id": "Send Company UU ID",
|
||||
"send_person_id": "Send Person ID",
|
||||
"send_person_uu_id": "Send Person UU ID",
|
||||
"approving_accounting_person": "Approving Accounting Person",
|
||||
"approving_accounting_person_uu_id": "Approving Accounting Person UU ID",
|
||||
"living_space_id": "Living Space ID",
|
||||
"living_space_uu_id": "Living Space UU ID",
|
||||
"customer_id": "Customer ID",
|
||||
"customer_uu_id": "Customer UU ID",
|
||||
"build_id": "Build ID",
|
||||
"build_uu_id": "Build UU ID",
|
||||
"build_parts_id": "Build Parts ID",
|
||||
"build_parts_uu_id": "Build Parts UU ID",
|
||||
"build_decision_book_id": "Build Decision Book ID",
|
||||
"build_decision_book_uu_id": "Build Decision Book UU ID",
|
||||
},
|
||||
)
|
||||
|
||||
AccountRecordExchangesLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"are_currency": "Para Birimi",
|
||||
"are_exchange_rate": "Döviz Kuru",
|
||||
"usd_exchange_rate_value": "USD Döviz Kuru Değeri",
|
||||
"eur_exchange_rate_value": "EUR Döviz Kuru Değeri",
|
||||
"gbp_exchange_rate_value": "GBP Döviz Kuru Değeri",
|
||||
"cny_exchange_rate_value": "CNY Döviz Kuru Değeri",
|
||||
"account_records_id": "Hesap Kayıt ID",
|
||||
"account_records_uu_id": "Hesap Kayıt UU ID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"are_currency": "Currency",
|
||||
"are_exchange_rate": "Exchange Rate",
|
||||
"usd_exchange_rate_value": "USD Exchange Rate Value",
|
||||
"eur_exchange_rate_value": "EUR Exchange Rate Value",
|
||||
"gbp_exchange_rate_value": "GBP Exchange Rate Value",
|
||||
"cny_exchange_rate_value": "CNY Exchange Rate Value",
|
||||
"account_records_id": "Account Record ID",
|
||||
"account_records_uu_id": "Account Record UU ID",
|
||||
},
|
||||
)
|
||||
52
ApiLayers/LanguageModels/Database/account/iban.py
Normal file
52
ApiLayers/LanguageModels/Database/account/iban.py
Normal file
@@ -0,0 +1,52 @@
|
||||
from LanguageModels.Database.Mixins.crud_mixin import CrudCollectionLanguageModel
|
||||
|
||||
BuildIbansLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"iban": "IBAN Numarası",
|
||||
"start_date": "Banka İşlem Başlangıç Tarihi",
|
||||
"stop_date": "Banka İşlem Bitiş Tarihi",
|
||||
"bank_code": "Banka Kodu",
|
||||
"xcomment": "Yorum",
|
||||
"build_id": "Bina ID",
|
||||
"build_uu_id": "Bina UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"iban": "IBAN Number",
|
||||
"start_date": "Bank Transaction Start Date",
|
||||
"stop_date": "Bank Transaction End Date",
|
||||
"bank_code": "Bank Code",
|
||||
"xcomment": "Comment",
|
||||
"build_id": "Build ID",
|
||||
"build_uu_id": "Build UUID",
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
BuildIbanDescriptionLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"iban": "IBAN Numarası",
|
||||
"group_id": "Grup ID",
|
||||
"search_word": "Arama Kelimesi",
|
||||
"customer_id": "Müşteri ID",
|
||||
"customer_uu_id": "Müşteri UUID",
|
||||
"company_id": "Şirket ID",
|
||||
"company_uu_id": "Şirket UUID",
|
||||
"build_parts_id": "Bina Parça ID",
|
||||
"build_parts_uu_id": "Bina Parça UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"iban": "IBAN Number",
|
||||
"group_id": "Group ID",
|
||||
"search_word": "Search Word",
|
||||
"customer_id": "Customer ID",
|
||||
"customer_uu_id": "Customer UUID",
|
||||
"company_id": "Company ID",
|
||||
"company_uu_id": "Company UUID",
|
||||
"build_parts_id": "Build Parts ID",
|
||||
"build_parts_uu_id": "Build Parts UUID",
|
||||
},
|
||||
)
|
||||
101
ApiLayers/LanguageModels/Database/building/budget.py
Normal file
101
ApiLayers/LanguageModels/Database/building/budget.py
Normal file
@@ -0,0 +1,101 @@
|
||||
from LanguageModels.Database.Mixins.crud_mixin import CrudCollectionLanguageModel
|
||||
|
||||
DecisionBookBudgetBooksLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"country": "Ülke",
|
||||
"branch_type": "Şube Tipi",
|
||||
"company_id": "Şirket ID",
|
||||
"company_uu_id": "Şirket UUID",
|
||||
"branch_id": "Şube ID",
|
||||
"branch_uu_id": "Şube UUID",
|
||||
"build_decision_book_id": "Karar Defteri ID",
|
||||
"build_decision_book_uu_id": "Karar Defteri UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"country": "Country",
|
||||
"branch_type": "Branch Type",
|
||||
"company_id": "Company ID",
|
||||
"company_uu_id": "Company UUID",
|
||||
"branch_id": "Branch ID",
|
||||
"branch_uu_id": "Branch UUID",
|
||||
"build_decision_book_id": "Build Decision Book ID",
|
||||
"build_decision_book_uu_id": "Build Decision Book UUID",
|
||||
},
|
||||
)
|
||||
|
||||
DecisionBookBudgetCodesLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"budget_code": "Bütçe Kodu",
|
||||
"comment_line": "Yorum Satırı",
|
||||
"build_decision_book_id": "Karar Defteri ID",
|
||||
"build_decision_book_uu_id": "Karar Defteri UUID",
|
||||
"build_parts_id": "Bina Parça ID",
|
||||
"build_parts_uu_id": "Bina Parça UUID",
|
||||
"company_id": "Şirket ID",
|
||||
"company_uu_id": "Şirket UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"budget_code": "Budget Code",
|
||||
"comment_line": "Comment Line",
|
||||
"build_decision_book_id": "Build Decision Book ID",
|
||||
"build_decision_book_uu_id": "Build Decision Book UUID",
|
||||
"build_parts_id": "Build Parts ID",
|
||||
"build_parts_uu_id": "Build Parts UUID",
|
||||
"company_id": "Company ID",
|
||||
"company_uu_id": "Company UUID",
|
||||
},
|
||||
)
|
||||
|
||||
DecisionBookBudgetMasterLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"budget_type": "Bütçe Tipi",
|
||||
"currency": "Para Birimi",
|
||||
"total_budget": "Toplam Bütçe",
|
||||
"tracking_period_id": "Takip Dönemi ID",
|
||||
"tracking_period_uu_id": "Takip Dönemi UUID",
|
||||
"budget_books_id": "Bütçe Kitapları ID",
|
||||
"budget_books_uu_id": "Bütçe Kitapları UUID",
|
||||
"department_id": "Departman ID",
|
||||
"department_uu_id": "Departman UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"budget_type": "Budget Type",
|
||||
"currency": "Currency",
|
||||
"total_budget": "Total Budget",
|
||||
"tracking_period_id": "Tracking Period ID",
|
||||
"tracking_period_uu_id": "Tracking Period UUID",
|
||||
"budget_books_id": "Budget Books ID",
|
||||
"budget_books_uu_id": "Budget Books UUID",
|
||||
"department_id": "Department ID",
|
||||
"department_uu_id": "Department UUID",
|
||||
},
|
||||
)
|
||||
|
||||
DecisionBookBudgetsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"process_date": "İşlem Tarihi",
|
||||
"budget_codes_id": "Bütçe Kodları ID",
|
||||
"total_budget": "Toplam Bütçe",
|
||||
"used_budget": "Kullanılan Bütçe",
|
||||
"remaining_budget": "Kalan Bütçe",
|
||||
"decision_book_budget_master_id": "Karar Defteri Bütçesi ID",
|
||||
"decision_book_budget_master_uu_id": "Karar Defteri Bütçesi UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"process_date": "Process Date",
|
||||
"budget_codes_id": "Budget Codes ID",
|
||||
"total_budget": "Total Budget",
|
||||
"used_budget": "Used Budget",
|
||||
"remaining_budget": "Remaining Budget",
|
||||
"decision_book_budget_master_id": "Decision Book Budget Master ID",
|
||||
"decision_book_budget_master_uu_id": "Decision Book Budget Master UUID",
|
||||
},
|
||||
)
|
||||
301
ApiLayers/LanguageModels/Database/building/build.py
Normal file
301
ApiLayers/LanguageModels/Database/building/build.py
Normal file
@@ -0,0 +1,301 @@
|
||||
from LanguageModels.Database.Mixins.crud_mixin import CrudCollectionLanguageModel
|
||||
|
||||
BuildTypesLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"function_code": "Fonksiyon Kodu",
|
||||
"type_code": "Yapı Tipi Kodu",
|
||||
"lang": "Dil",
|
||||
"type_name": "Tip Adı",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"function_code": "Function Code",
|
||||
"type_code": "Type Code",
|
||||
"lang": "Language",
|
||||
"type_name": "Type Name",
|
||||
},
|
||||
)
|
||||
|
||||
Part2EmployeeLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"build_id": "Bina ID",
|
||||
"part_id": "Bina Parça ID",
|
||||
"employee_id": "Çalışan ID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"build_id": "Build ID",
|
||||
"part_id": "Build Part ID",
|
||||
"employee_id": "Employee ID",
|
||||
},
|
||||
)
|
||||
|
||||
RelationshipEmployee2BuildLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"company_id": "Şirket ID",
|
||||
"employee_id": "Çalışan ID",
|
||||
"member_id": "Üye ID",
|
||||
"relationship_type": "İlişki Tipi",
|
||||
"show_only": "Sadece Göster",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"company_id": "Company ID",
|
||||
"employee_id": "Employee ID",
|
||||
"member_id": "Member ID",
|
||||
"relationship_type": "Relationship Type",
|
||||
"show_only": "Show Only",
|
||||
},
|
||||
)
|
||||
|
||||
BuildLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"gov_address_code": "Adres Kodu",
|
||||
"build_name": "Bina Adı",
|
||||
"build_no": "Bina No",
|
||||
"max_floor": "Max Kat",
|
||||
"underground_floor": "Zemin Kat",
|
||||
"build_date": "Bina Tarihi",
|
||||
"decision_period_date": "Karar Dönemi Tarihi",
|
||||
"tax_no": "Vergi No",
|
||||
"lift_count": "Asansör Sayısı",
|
||||
"heating_system": "Isıtma Sistemi",
|
||||
"cooling_system": "Soğutma Sistemi",
|
||||
"hot_water_system": "Sıcak Su Sistemi",
|
||||
"block_service_man_count": "Blok Hizmet Görevlisi Sayısı",
|
||||
"security_service_man_count": "Güvenlik Görevlisi Sayısı",
|
||||
"garage_count": "Garaj Sayısı",
|
||||
"management_room_id": "Yönetim Odası ID",
|
||||
"site_id": "Site ID",
|
||||
"site_uu_id": "Site UUID",
|
||||
"address_id": "Adres ID",
|
||||
"address_uu_id": "Adres UUID",
|
||||
"build_types_id": "Bina Tipi ID",
|
||||
"build_types_uu_id": "Bina Tipi UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"gov_address_code": "Address Code",
|
||||
"build_name": "Building Name",
|
||||
"build_no": "Building Number",
|
||||
"max_floor": "Max Floor",
|
||||
"underground_floor": "Underground Floor",
|
||||
"build_date": "Building Date",
|
||||
"decision_period_date": "Decision Period Date",
|
||||
"tax_no": "Tax No",
|
||||
"lift_count": "Lift Count",
|
||||
"heating_system": "Heating System",
|
||||
"cooling_system": "Cooling System",
|
||||
"hot_water_system": "Hot Water System",
|
||||
"block_service_man_count": "Block Service Man Count",
|
||||
"security_service_man_count": "Security Service Man Count",
|
||||
"garage_count": "Garage Count",
|
||||
"management_room_id": "Management Room ID",
|
||||
"site_id": "Site ID",
|
||||
"site_uu_id": "Site UUID",
|
||||
"address_id": "Address ID",
|
||||
"address_uu_id": "Address UUID",
|
||||
"build_types_id": "Build Types ID",
|
||||
"build_types_uu_id": "Build Types UUID",
|
||||
},
|
||||
)
|
||||
|
||||
BuildPartsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"address_gov_code": "Adres Kodu",
|
||||
"part_no": "Bina Parça No",
|
||||
"part_level": "Bina Parça Katı",
|
||||
"part_code": "Bina Parça Kodu",
|
||||
"part_gross_size": "Bina Parça Brüt Alanı",
|
||||
"part_net_size": "Bina Parça Net Alanı",
|
||||
"default_accessory": "Varsayılan Aksesuar",
|
||||
"human_livable": "İnsan Yaşam Alanı",
|
||||
"due_part_key": "Ödeme Grubu",
|
||||
"build_id": "Bina ID",
|
||||
"build_uu_id": "Bina UUID",
|
||||
"part_direction_id": "Bina Parça Yönü ID",
|
||||
"part_direction_uu_id": "Bina Parça Yönü UUID",
|
||||
"part_type_id": "Bina Parça Tipi ID",
|
||||
"part_type_uu_id": "Bina Parça Tipi UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"address_gov_code": "Address Code",
|
||||
"part_no": "Part Number",
|
||||
"part_level": "Part Level",
|
||||
"part_code": "Part Code",
|
||||
"part_gross_size": "Part Gross Size",
|
||||
"part_net_size": "Part Net Size",
|
||||
"default_accessory": "Default Accessory",
|
||||
"human_livable": "Human Livable",
|
||||
"due_part_key": "Due Part Key",
|
||||
"build_id": "Build ID",
|
||||
"build_uu_id": "Build UUID",
|
||||
"part_direction_id": "Part Direction ID",
|
||||
"part_direction_uu_id": "Part Direction UUID",
|
||||
"part_type_id": "Part Type ID",
|
||||
"part_type_uu_id": "Part Type UUID",
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
BuildLivingSpaceLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"fix_value": "Düz Değer",
|
||||
"fix_percent": "Düz Yüzde",
|
||||
"agreement_no": "Anlaşma No",
|
||||
"marketing_process": "Pazarlama İşlemi",
|
||||
"marketing_layer": "Pazarlama Katmanı",
|
||||
"build_parts_id": "Bina Parça ID",
|
||||
"build_parts_uu_id": "Bina Parça UUID",
|
||||
"person_id": "Kişi ID",
|
||||
"person_uu_id": "Kişi UUID",
|
||||
"occupant_type": "Sakin Tipi",
|
||||
"occupant_type_uu_id": "Sakin Tipi UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"fix_value": "Fixed Value",
|
||||
"fix_percent": "Fixed Percent",
|
||||
"agreement_no": "Agreement No",
|
||||
"marketing_process": "Marketing Process",
|
||||
"marketing_layer": "Marketing Layer",
|
||||
"build_parts_id": "Build Part ID",
|
||||
"build_parts_uu_id": "Build Part UUID",
|
||||
"person_id": "Person ID",
|
||||
"person_uu_id": "Person UUID",
|
||||
"occupant_type": "Occupant Type",
|
||||
"occupant_type_uu_id": "Occupant Type UUID",
|
||||
},
|
||||
)
|
||||
|
||||
BuildManagementLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"discounted_percentage": "İndirim Yüzdesi",
|
||||
"discounted_price": "İndirimli Fiyat",
|
||||
"calculated_price": "Hesaplanan Fiyat",
|
||||
"occupant_type": "Sakin Tipi",
|
||||
"occupant_type_uu_id": "Sakin Tipi UUID",
|
||||
"build_id": "Bina ID",
|
||||
"build_uu_id": "Bina UUID",
|
||||
"build_parts_id": "Bina Parça ID",
|
||||
"build_parts_uu_id": "Bina Parça UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"discounted_percentage": "Discounted Percentage",
|
||||
"discounted_price": "Discounted Price",
|
||||
"calculated_price": "Calculated Price",
|
||||
"occupant_type": "Occupant Type",
|
||||
"occupant_type_uu_id": "Occupant Type UUID",
|
||||
"build_id": "Build ID",
|
||||
"build_uu_id": "Build UUID",
|
||||
"build_parts_id": "Build Part ID",
|
||||
"build_parts_uu_id": "Build Part UUID",
|
||||
},
|
||||
)
|
||||
|
||||
BuildAreaLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"area_name": "Alan Adı",
|
||||
"area_code": "Alan Kodu",
|
||||
"area_type": "Alan Tipi",
|
||||
"area_direction": "Alan Yönü",
|
||||
"area_gross_size": "Alan Brüt Alanı",
|
||||
"area_net_size": "Alan Net Alanı",
|
||||
"width": "En",
|
||||
"size": "Boyut",
|
||||
"build_id": "Bina ID",
|
||||
"build_uu_id": "Bina UUID",
|
||||
"part_type_id": "Bina Parça Tipi ID",
|
||||
"part_type_uu_id": "Bina Parça Tipi UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"area_name": "Area Name",
|
||||
"area_code": "Area Code",
|
||||
"area_type": "Area Type",
|
||||
"area_direction": "Area Direction",
|
||||
"area_gross_size": "Area Gross Size",
|
||||
"area_net_size": "Area Net Size",
|
||||
"width": "Width",
|
||||
"size": "Size",
|
||||
"build_id": "Build ID",
|
||||
"build_uu_id": "Build UUID",
|
||||
"part_type_id": "Part Type ID",
|
||||
"part_type_uu_id": "Part Type UUID",
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
BuildSitesLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"site_name": "Site Adı",
|
||||
"site_no": "Site No",
|
||||
"address_id": "Adres ID",
|
||||
"address_uu_id": "Adres UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"site_name": "Site Name",
|
||||
"site_no": "Site No",
|
||||
"address_id": "Address ID",
|
||||
"address_uu_id": "Address UUID",
|
||||
},
|
||||
)
|
||||
|
||||
BuildCompaniesProvidingLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"build_id": "Bina ID",
|
||||
"build_uu_id": "Bina UUID",
|
||||
"company_id": "Şirket ID",
|
||||
"company_uu_id": "Şirket UUID",
|
||||
"provide_id": "Sağlayıcı ID",
|
||||
"provide_uu_id": "Sağlayıcı UUID",
|
||||
"contract_id": "Sözleşme ID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"build_id": "Build ID",
|
||||
"build_uu_id": "Build UUID",
|
||||
"company_id": "Company ID",
|
||||
"company_uu_id": "Company UUID",
|
||||
"provide_id": "Provide ID",
|
||||
"provide_uu_id": "Provide UUID",
|
||||
"contract_id": "Contract ID",
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
BuildPersonProvidingLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"build_id": "Bina ID",
|
||||
"build_uu_id": "Bina UUID",
|
||||
"people_id": "Kişi ID",
|
||||
"people_uu_id": "Kişi UUID",
|
||||
"provide_id": "Sağlayıcı ID",
|
||||
"provide_uu_id": "Sağlayıcı UUID",
|
||||
"contract_id": "Sözleşme ID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"build_id": "Build ID",
|
||||
"build_uu_id": "Build UUID",
|
||||
"people_id": "People ID",
|
||||
"people_uu_id": "People UUID",
|
||||
"provide_id": "Provide ID",
|
||||
"provide_uu_id": "Provide UUID",
|
||||
"contract_id": "Contract ID",
|
||||
},
|
||||
)
|
||||
398
ApiLayers/LanguageModels/Database/building/decision_book.py
Normal file
398
ApiLayers/LanguageModels/Database/building/decision_book.py
Normal file
@@ -0,0 +1,398 @@
|
||||
from LanguageModels.Database.Mixins.crud_mixin import CrudCollectionLanguageModel
|
||||
|
||||
BuildDecisionBookLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"decision_book_pdf_path": "Karar Defteri PDF Yolu",
|
||||
"resp_company_fix_wage": "Firma Sabit Ücreti",
|
||||
"is_out_sourced": "Dış Kaynak Kullanımı",
|
||||
"meeting_date": "Toplantı Tarihi",
|
||||
"decision_type": "Karar Türü",
|
||||
"meeting_is_completed": "Toplantı Tamamlandı",
|
||||
"meeting_completed_date": "Toplantı Tamamlanma Tarihi",
|
||||
"build_id": "Bina ID",
|
||||
"build_uu_id": "Bina UUID",
|
||||
"resp_company_id": "Sorumlu Firma ID",
|
||||
"resp_company_uu_id": "Sorumlu Firma UUID",
|
||||
"contact_id": "İletişim ID",
|
||||
"contact_uu_id": "İletişim UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"decision_book_pdf_path": "Decision Book PDF Path",
|
||||
"resp_company_fix_wage": "Resp Company Fix Wage",
|
||||
"is_out_sourced": "Is Out Sourced",
|
||||
"meeting_date": "Meeting Date",
|
||||
"decision_type": "Decision Type",
|
||||
"meeting_is_completed": "Meeting Is Completed",
|
||||
"meeting_completed_date": "Meeting Completed Date",
|
||||
"build_id": "Build ID",
|
||||
"build_uu_id": "Build UUID",
|
||||
"resp_company_id": "Resp Company ID",
|
||||
"resp_company_uu_id": "Resp Company UUID",
|
||||
"contact_id": "Contact ID",
|
||||
"contact_uu_id": "Contact UUID",
|
||||
},
|
||||
)
|
||||
|
||||
BuildDecisionBookInvitationsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"build_id": "Bina ID",
|
||||
"build_uu_id": "Bina UUID",
|
||||
"decision_book_id": "Karar Defteri ID",
|
||||
"decision_book_uu_id": "Karar Defteri UUID",
|
||||
"invitation_type": "Davet Türü",
|
||||
"invitation_attempt": "Davet Denemesi",
|
||||
"living_part_count": "Yaşam Bölüm Sayısı",
|
||||
"living_part_percentage": "Yaşam Bölüm Yüzdesi",
|
||||
"message": "Davet Mesajı",
|
||||
"planned_date": "Planlanan Tarih",
|
||||
"planned_date_expires": "Planlanan Tarih Bitiş",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"build_id": "Build ID",
|
||||
"build_uu_id": "Build UUID",
|
||||
"decision_book_id": "Decision Book ID",
|
||||
"decision_book_uu_id": "Decision Book UUID",
|
||||
"invitation_type": "Invitation Type",
|
||||
"invitation_attempt": "Invitation Attempt",
|
||||
"living_part_count": "Living Part Count",
|
||||
"living_part_percentage": "Living Part Percentage",
|
||||
"message": "Message",
|
||||
"planned_date": "Planned Date",
|
||||
"planned_date_expires": "Planned Date Expires",
|
||||
},
|
||||
)
|
||||
|
||||
BuildDecisionBookPersonLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"dues_percent_discount": "Aidat İndirim Oranı",
|
||||
"dues_fix_discount": "Aidat Sabit İndirim",
|
||||
"dues_discount_approval_date": "İndirim Onay Tarihi",
|
||||
"send_date": "Gönderme Tarihi",
|
||||
"is_attending": "Katılıyor",
|
||||
"confirmed_date": "Onay Tarihi",
|
||||
"token": "Token",
|
||||
"vicarious_person_id": "Vekil Kişi ID",
|
||||
"vicarious_person_uu_id": "Vekil Kişi UUID",
|
||||
"invite_id": "Davet ID",
|
||||
"invite_uu_id": "Davet UUID",
|
||||
"build_decision_book_id": "Karar Defteri ID",
|
||||
"build_decision_book_uu_id": "Karar Defteri UUID",
|
||||
"build_living_space_id": "Yaşam Alanı ID",
|
||||
"build_living_space_uu_id": "Yaşam Alanı UUID",
|
||||
"person_id": "Kişi ID",
|
||||
"person_uu_id": "Kişi UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"dues_percent_discount": "Dues Percent Discount",
|
||||
"dues_fix_discount": "Dues Fix Discount",
|
||||
"dues_discount_approval_date": "Dues Discount Approval Date",
|
||||
"send_date": "Send Date",
|
||||
"is_attending": "Is Attending",
|
||||
"confirmed_date": "Confirmed Date",
|
||||
"token": "Token",
|
||||
"vicarious_person_id": "Vicarious Person ID",
|
||||
"vicarious_person_uu_id": "Vicarious Person UUID",
|
||||
"invite_id": "Invite ID",
|
||||
"invite_uu_id": "Invite UUID",
|
||||
"build_decision_book_id": "Decision Book ID",
|
||||
"build_decision_book_uu_id": "Decision Book UUID",
|
||||
"build_living_space_id": "Living Space ID",
|
||||
"build_living_space_uu_id": "Living Space UUID",
|
||||
"person_id": "Person ID",
|
||||
"person_uu_id": "Person UUID",
|
||||
},
|
||||
)
|
||||
|
||||
BuildDecisionBookPersonOccupantsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"build_decision_book_person_id": "Karar Defteri Kişi ID",
|
||||
"build_decision_book_person_uu_id": "Karar Defter Kişi UUID",
|
||||
"invite_id": "Davet ID",
|
||||
"invite_uu_id": "Davet UUID",
|
||||
"occupant_type_id": "Kişi Tür ID",
|
||||
"occupant_type_uu_id": "Kişi Tür UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"build_decision_book_person_id": "Build Decision Book Person ID",
|
||||
"build_decision_book_person_uu_id": "Build Decision Book Person UUID",
|
||||
"invite_id": "Invite ID",
|
||||
"invite_uu_id": "Invite UUID",
|
||||
"occupant_type_id": "Occupant Type ID",
|
||||
"occupant_type_uu_id": "Occupant Type UUID",
|
||||
},
|
||||
)
|
||||
|
||||
BuildDecisionBookItemsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"item_order": "Madde Sırası",
|
||||
"item_comment": "Madde Yorumu",
|
||||
"item_objection": "Madde İtirazı",
|
||||
"info_is_completed": "Bilgi Tamamlandı",
|
||||
"is_payment_created": "Ödeme Yapıldı",
|
||||
"info_type_id": "Bilgi Türü ID",
|
||||
"info_type_uu_id": "Bilgi Türü UUID",
|
||||
"build_decision_book_id": "Karar Defteri ID",
|
||||
"build_decision_book_uu_id": "Karar Defteri UUID",
|
||||
"item_short_comment": "Kısa Yorum",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"item_order": "Item Order",
|
||||
"item_comment": "Item Comment",
|
||||
"item_objection": "Item Objection",
|
||||
"info_is_completed": "Info Is Completed",
|
||||
"is_payment_created": "Is Payment Created",
|
||||
"info_type_id": "Info Type ID",
|
||||
"info_type_uu_id": "Info Type UUID",
|
||||
"build_decision_book_id": "Build Decision Book ID",
|
||||
"build_decision_book_uu_id": "Build Decision Book UUID",
|
||||
"item_short_comment": "Item Short Comment",
|
||||
},
|
||||
)
|
||||
|
||||
BuildDecisionBookItemsUnapprovedLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"item_objection": "Madde İtirazı",
|
||||
"item_order": "Madde Sırası",
|
||||
"decision_book_item_id": "Karar Defteri Madde ID",
|
||||
"decision_book_item_uu_id": "Karar Defteri Madde UUID",
|
||||
"person_id": "Kişi ID",
|
||||
"person_uu_id": "Kişi UUID",
|
||||
"build_decision_book_item": "Karar Defteri Madde ID",
|
||||
"build_decision_book_item_uu_id": "Karar Defteri Madde UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"item_objection": "Item Objection",
|
||||
"item_order": "Item Order",
|
||||
"decision_book_item_id": "Decision Book Item ID",
|
||||
"decision_book_item_uu_id": "Decision Book Item UUID",
|
||||
"person_id": "Person ID",
|
||||
"person_uu_id": "Person UUID",
|
||||
"build_decision_book_item": "Build Decision Book Item ID",
|
||||
"build_decision_book_item_uu_id": "Build Decision Book Item UUID",
|
||||
},
|
||||
)
|
||||
|
||||
BuildDecisionBookPaymentsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"payment_plan_time_periods": "Ödeme Planı Zaman Periyodu",
|
||||
"process_date": "Ödeme Tarihi",
|
||||
"payment_amount": "Ödeme Miktarı",
|
||||
"currency": "Para Birimi",
|
||||
"payment_types_id": "Ödeme Türü ID",
|
||||
"payment_types_uu_id": "Ödeme Türü UUID",
|
||||
"period_time": "Dönem Zamanı",
|
||||
"process_date_y": "Tarih Yılı",
|
||||
"process_date_m": "Tarih Ayı",
|
||||
"build_decision_book_item_id": "Karar Defteri Madde ID",
|
||||
"build_decision_book_item_uu_id": "Karar Defteri Madde UUID",
|
||||
"build_parts_id": "Bina Parça ID",
|
||||
"build_parts_uu_id": "Bina Parça UUID",
|
||||
"decision_book_project_id": "Karar Defteri Proje ID",
|
||||
"decision_book_project_uu_id": "Karar Defteri Proje UUID",
|
||||
"account_records_id": "Hesap Kayıtları ID",
|
||||
"account_records_uu_id": "Hesap Kayıtları UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"payment_plan_time_periods": "Payment Plan Time Periods",
|
||||
"process_date": "Process Date",
|
||||
"payment_amount": "Payment Amount",
|
||||
"currency": "Currency",
|
||||
"payment_types_id": "Payment Types ID",
|
||||
"payment_types_uu_id": "Payment Types UUID",
|
||||
"period_time": "Period Time",
|
||||
"process_date_y": "Process Date Year",
|
||||
"process_date_m": "Process Date Month",
|
||||
"build_decision_book_item_id": "Build Decision Book Item ID",
|
||||
"build_decision_book_item_uu_id": "Build Decision Book Item UUID",
|
||||
"build_parts_id": "Build Parts ID",
|
||||
"build_parts_uu_id": "Build Parts UUID",
|
||||
"decision_book_project_id": "Decision Book Project ID",
|
||||
"decision_book_project_uu_id": "Decision Book Project UUID",
|
||||
"account_records_id": "Account Records ID",
|
||||
"account_records_uu_id": "Account Records UUID",
|
||||
},
|
||||
)
|
||||
|
||||
BuildDecisionBookLegalLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"period_start_date": "Dönem Başlangıç Tarihi",
|
||||
"lawsuits_decision_number": "Dava Karar Numarası",
|
||||
"lawsuits_decision_date": "Dava Karar Tarihi",
|
||||
"period_stop_date": "Dönem Bitiş Tarihi",
|
||||
"decision_book_pdf_path": "Karar Defteri PDF Yolu",
|
||||
"resp_company_total_wage": "Firma Toplam Ücreti",
|
||||
"contact_agreement_path": "İletişim Anlaşma Yolu",
|
||||
"contact_agreement_date": "İletişim Anlaşma Tarihi",
|
||||
"meeting_date": "Toplantı Tarihi",
|
||||
"lawsuits_type": "Dava Türü",
|
||||
"lawsuits_name": "Dava Adı",
|
||||
"lawsuits_note": "Dava Notu",
|
||||
"lawyer_cost": "Avukat Ücreti",
|
||||
"mediator_lawyer_cost": "Arabulucu Avukat Ücreti",
|
||||
"other_cost": "Diğer Ücret",
|
||||
"legal_cost": "Yasal Ücret",
|
||||
"approved_cost": "Onaylanan Ücret",
|
||||
"total_price": "Toplam Ücret",
|
||||
"build_db_item_id": "Karar Defteri Madde ID",
|
||||
"build_db_item_uu_id": "Karar Defteri Madde UUID",
|
||||
"resp_attorney_id": "Sorumlu Avukat ID",
|
||||
"resp_attorney_uu_id": "Sorumlu Avukat UUID",
|
||||
"resp_attorney_company_id": "Sorumlu Avukat Firma ID",
|
||||
"resp_attorney_company_uu_id": "Sorumlu Avukat Firma UUID",
|
||||
"mediator_lawyer_person_id": "Arabulucu Avukat Kişi ID",
|
||||
"mediator_lawyer_person_uu_id": "Arabulucu Avukat Kişi UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"period_start_date": "Period Start Date",
|
||||
"lawsuits_decision_number": "Lawsuits Decision Number",
|
||||
"lawsuits_decision_date": "Lawsuits Decision Date",
|
||||
"period_stop_date": "Period Stop Date",
|
||||
"decision_book_pdf_path": "Decision Book PDF Path",
|
||||
"resp_company_total_wage": "Resp Company Total Wage",
|
||||
"contact_agreement_path": "Contact Agreement Path",
|
||||
"contact_agreement_date": "Contact Agreement Date",
|
||||
"meeting_date": "Meeting Date",
|
||||
"lawsuits_type": "Lawsuits Type",
|
||||
"lawsuits_name": "Lawsuits Name",
|
||||
"lawsuits_note": "Lawsuits Note",
|
||||
"lawyer_cost": "Lawyer Cost",
|
||||
"mediator_lawyer_cost": "Mediator Lawyer Cost",
|
||||
"other_cost": "Other Cost",
|
||||
"legal_cost": "Legal Cost",
|
||||
"approved_cost": "Approved Cost",
|
||||
"total_price": "Total Price",
|
||||
"build_db_item_id": "Build Decision Book Item ID",
|
||||
"build_db_item_uu_id": "Build Decision Book Item UUID",
|
||||
"resp_attorney_id": "Resp Attorney ID",
|
||||
"resp_attorney_uu_id": "Resp Attorney UUID",
|
||||
"resp_attorney_company_id": "Resp Attorney Company ID",
|
||||
"resp_attorney_company_uu_id": "Resp Attorney Company UUID",
|
||||
"mediator_lawyer_person_id": "Mediator Lawyer Person ID",
|
||||
"mediator_lawyer_person_uu_id": "Mediator Lawyer Person UUID",
|
||||
},
|
||||
)
|
||||
|
||||
BuildDecisionBookProjectsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"project_no": "Proje No",
|
||||
"project_name": "Proje Adı",
|
||||
"project_start_date": "Proje Başlangıç Tarihi",
|
||||
"project_stop_date": "Proje Bitiş Tarihi",
|
||||
"project_type": "Proje Türü",
|
||||
"project_note": "Proje Notu",
|
||||
"decision_book_pdf_path": "Karar Defteri PDF Yolu",
|
||||
"is_completed": "Proje Tamamlandı",
|
||||
"status_code": "Durum Kodu",
|
||||
"resp_company_fix_wage": "Firma Sabit Ücreti",
|
||||
"is_out_sourced": "Dış Kaynak Kullanımı",
|
||||
"meeting_date": "Toplantı Tarihi",
|
||||
"currency": "Para Birimi",
|
||||
"bid_price": "Teklif Fiyatı",
|
||||
"approved_price": "Onaylanan Fiyat",
|
||||
"final_price": "Son Fiyat",
|
||||
"contact_id": "İletişim ID",
|
||||
"contact_uu_id": "İletişim UUID",
|
||||
"build_decision_book_id": "Karar Defteri ID",
|
||||
"build_decision_book_uu_id": "Karar Defteri UUID",
|
||||
"build_decision_book_item_id": "Karar Defteri Madde ID",
|
||||
"build_decision_book_item_uu_id": "Karar Defteri Madde UUID",
|
||||
"project_response_living_space_id": "Proje Yanıt Yaşam Alanı ID",
|
||||
"project_response_living_space_uu_id": "Proje Yanıt Yaşam Alanı UUID",
|
||||
"resp_company_id": "Sorumlu Firma ID",
|
||||
"resp_company_uu_id": "Sorumlu Firma UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"project_no": "Project No",
|
||||
"project_name": "Project Name",
|
||||
"project_start_date": "Project Start Date",
|
||||
"project_stop_date": "Project Stop Date",
|
||||
"project_type": "Project Type",
|
||||
"project_note": "Project Note",
|
||||
"decision_book_pdf_path": "Decision Book PDF Path",
|
||||
"is_completed": "Is Completed",
|
||||
"status_code": "Status Code",
|
||||
"resp_company_fix_wage": "Resp Company Fix Wage",
|
||||
"is_out_sourced": "Is Out Sourced",
|
||||
"meeting_date": "Meeting Date",
|
||||
"currency": "Currency",
|
||||
"bid_price": "Bid Price",
|
||||
"approved_price": "Approved Price",
|
||||
"final_price": "Final Price",
|
||||
"contact_id": "Contact ID",
|
||||
"contact_uu_id": "Contact UUID",
|
||||
"build_decision_book_id": "Build Decision Book ID",
|
||||
"build_decision_book_uu_id": "Build Decision Book UUID",
|
||||
"build_decision_book_item_id": "Build Decision Book Item ID",
|
||||
"build_decision_book_item_uu_id": "Build Decision Book Item UUID",
|
||||
"project_response_living_space_id": "Project Response Living Space ID",
|
||||
"project_response_living_space_uu_id": "Project Response Living Space UUID",
|
||||
"resp_company_id": "Resp Company ID",
|
||||
"resp_company_uu_id": "Resp Company UUID",
|
||||
},
|
||||
)
|
||||
|
||||
BuildDecisionBookProjectPersonLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"dues_percent_discount": "Aidat İndirim Oranı",
|
||||
"job_fix_wage": "İş Sabit Ücreti",
|
||||
"bid_price": "Teklif Fiyatı",
|
||||
"decision_price": "Karar Fiyatı",
|
||||
"build_decision_book_project_id": "Karar Defteri Proje ID",
|
||||
"build_decision_book_project_uu_id": "Karar Defteri Proje UUID",
|
||||
"living_space_id": "Yaşam Alanı ID",
|
||||
"living_space_uu_id": "Yaşam Alanı UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"dues_percent_discount": "Dues Percent Discount",
|
||||
"job_fix_wage": "Job Fix Wage",
|
||||
"bid_price": "Bid Price",
|
||||
"decision_price": "Decision Price",
|
||||
"build_decision_book_project_id": "Build Decision Book Project ID",
|
||||
"build_decision_book_project_uu_id": "Build Decision Book Project UUID",
|
||||
"living_space_id": "Living Space ID",
|
||||
"living_space_uu_id": "Living Space UUID",
|
||||
},
|
||||
)
|
||||
|
||||
BuildDecisionBookProjectItemsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"item_header": "Madde Başlığı",
|
||||
"item_comment": "Madde Yorumu",
|
||||
"attachment_pdf_path": "Ek PDF Yolu",
|
||||
"item_estimated_cost": "Tahmini Maliyet",
|
||||
"item_short_comment": "Kısa Yorum",
|
||||
"build_decision_book_project_id": "Karar Defteri Proje ID",
|
||||
"build_decision_book_project_uu_id": "Karar Defteri Proje UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"item_header": "Item Header",
|
||||
"item_comment": "Item Comment",
|
||||
"attachment_pdf_path": "Attachment PDF Path",
|
||||
"item_estimated_cost": "Estimated Cost",
|
||||
"item_short_comment": "Item Short Comment",
|
||||
"build_decision_book_project_id": "Build Decision Book Project ID",
|
||||
"build_decision_book_project_uu_id": "Build Decision Book Project UUID",
|
||||
},
|
||||
)
|
||||
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",
|
||||
},
|
||||
)
|
||||
62
ApiLayers/LanguageModels/Database/company/department.py
Normal file
62
ApiLayers/LanguageModels/Database/company/department.py
Normal 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",
|
||||
},
|
||||
)
|
||||
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",
|
||||
},
|
||||
)
|
||||
185
ApiLayers/LanguageModels/Database/event/event.py
Normal file
185
ApiLayers/LanguageModels/Database/event/event.py
Normal file
@@ -0,0 +1,185 @@
|
||||
from LanguageModels.Database.Mixins.crud_mixin import CrudCollectionLanguageModel
|
||||
|
||||
|
||||
EventsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"event_type": "Etkinlik Türü",
|
||||
"function_code": "Fonksiyon Kodu",
|
||||
"function_class": "Fonksiyon Sınıfı",
|
||||
"description": "Açıklama",
|
||||
"property_description": "Özellik Açıklaması",
|
||||
"marketing_layer": "Pazarlama Katmanı",
|
||||
"cost": "Maliyet",
|
||||
"unit_price": "Birim Fiyat",
|
||||
"endpoint_id": "Endpoint ID",
|
||||
"endpoint_uu_id": "Endpoint UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"event_type": "Event Type",
|
||||
"function_code": "Function Code",
|
||||
"function_class": "Function Class",
|
||||
"description": "Description",
|
||||
"property_description": "Property Description",
|
||||
"marketing_layer": "Marketing Layer",
|
||||
"cost": "Cost",
|
||||
"unit_price": "Unit Price",
|
||||
"endpoint_id": "Endpoint ID",
|
||||
"endpoint_uu_id": "Endpoint UUID",
|
||||
},
|
||||
)
|
||||
|
||||
ModulesLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"module_name": "Modül Adı",
|
||||
"module_description": "Modül Açıklaması",
|
||||
"module_code": "Modül Kodu",
|
||||
"module_layer": "Modül Katmanı",
|
||||
"is_default_module": "Varsayılan Modül",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"module_name": "Module Name",
|
||||
"module_description": "Module Description",
|
||||
"module_code": "Module Code",
|
||||
"module_layer": "Module Layer",
|
||||
"is_default_module": "Default Module",
|
||||
},
|
||||
)
|
||||
|
||||
ServicesLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"module_id": "Modül ID",
|
||||
"module_uu_id": "Modül UUID",
|
||||
"service_name": "Servis Adı",
|
||||
"service_description": "Servis Açıklaması",
|
||||
"service_code": "Servis Kodu",
|
||||
"related_responsibility": "İlgili Sorumluluk",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"module_id": "Module ID",
|
||||
"module_uu_id": "Module UUID",
|
||||
"service_name": "Service Name",
|
||||
"service_description": "Service Description",
|
||||
"service_code": "Service Code",
|
||||
"related_responsibility": "Related Responsibility",
|
||||
},
|
||||
)
|
||||
|
||||
Service2EventsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"service_id": "Servis ID",
|
||||
"service_uu_id": "Servis UUID",
|
||||
"event_id": "Etkinlik ID",
|
||||
"event_uu_id": "Etkinlik UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"service_id": "Service ID",
|
||||
"service_uu_id": "Service UUID",
|
||||
"event_id": "Event ID",
|
||||
"event_uu_id": "Event UUID",
|
||||
},
|
||||
)
|
||||
|
||||
Event2OccupantExtraLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"build_living_space_id": "Bina Yaşam Alanı ID",
|
||||
"build_living_space_uu_id": "Bina Yaşam Alanı UUID",
|
||||
"event_id": "Etkinlik ID",
|
||||
"event_uu_id": "Etkinlik UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"build_living_space_id": "Build Living Space ID",
|
||||
"build_living_space_uu_id": "Build Living Space UUID",
|
||||
"event_id": "Event ID",
|
||||
"event_uu_id": "Event UUID",
|
||||
},
|
||||
)
|
||||
|
||||
Event2EmployeeExtraLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"employee_id": "Çalışan ID",
|
||||
"employee_uu_id": "Çalışan UUID",
|
||||
"event_id": "Etkinlik ID",
|
||||
"event_uu_id": "Etkinlik UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"employee_id": "Employee ID",
|
||||
"employee_uu_id": "Employee UUID",
|
||||
"event_id": "Event ID",
|
||||
"event_uu_id": "Event UUID",
|
||||
},
|
||||
)
|
||||
|
||||
Event2EmployeeLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"employee_id": "Çalışan ID",
|
||||
"employee_uu_id": "Çalışan UUID",
|
||||
"event_service_id": "Etkinlik Servis ID",
|
||||
"event_service_uu_id": "Etkinlik Servis UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"employee_id": "Employee ID",
|
||||
"employee_uu_id": "Employee UUID",
|
||||
"event_service_id": "Event Service ID",
|
||||
"event_service_uu_id": "Event Service UUID",
|
||||
},
|
||||
)
|
||||
|
||||
Event2OccupantLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"build_living_space_id": "Bina Yaşam Alanı ID",
|
||||
"build_living_space_uu_id": "Bina Yaşam Alanı UUID",
|
||||
"event_service_id": "Etkinlik Servis ID",
|
||||
"event_service_uu_id": "Etkinlik Servis UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"build_living_space_id": "Build Living Space ID",
|
||||
"build_living_space_uu_id": "Build Living Space UUID",
|
||||
"event_service_id": "Event Service ID",
|
||||
"event_service_uu_id": "Event Service UUID",
|
||||
},
|
||||
)
|
||||
|
||||
ModulePriceLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"campaign_code": "Kampanya Kodu",
|
||||
"module_id": "Modül ID",
|
||||
"module_uu_id": "Modül UUID",
|
||||
"service_id": "Servis ID",
|
||||
"service_uu_id": "Servis UUID",
|
||||
"event_id": "Etkinlik ID",
|
||||
"event_uu_id": "Etkinlik UUID",
|
||||
"is_counted_percentage": "İndirim Oranı",
|
||||
"discounted_price": "İndirimli Fiyat",
|
||||
"calculated_price": "Hesaplanan Fiyat",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"campaign_code": "Campaign Code",
|
||||
"module_id": "Module ID",
|
||||
"module_uu_id": "Module UUID",
|
||||
"service_id": "Service ID",
|
||||
"service_uu_id": "Service UUID",
|
||||
"event_id": "Event ID",
|
||||
"event_uu_id": "Event UUID",
|
||||
"is_counted_percentage": "Discount Rate",
|
||||
"discounted_price": "Discounted Price",
|
||||
"calculated_price": "Calculated Price",
|
||||
},
|
||||
)
|
||||
424
ApiLayers/LanguageModels/Database/identity/identity.py
Normal file
424
ApiLayers/LanguageModels/Database/identity/identity.py
Normal file
@@ -0,0 +1,424 @@
|
||||
from LanguageModels.Database.Mixins.crud_mixin import CrudCollectionLanguageModel
|
||||
|
||||
UsersTokensLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"user_id": "Kullanıcı ID",
|
||||
"token_type": "Token Türü",
|
||||
"token": "Token",
|
||||
"domain": "Domain",
|
||||
"expires_at": "Bitiş Tarihi",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"user_id": "User ID",
|
||||
"token_type": "Token Type",
|
||||
"token": "Token",
|
||||
"domain": "Domain",
|
||||
"expires_at": "Expires At",
|
||||
},
|
||||
)
|
||||
|
||||
UsersLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"user_tag": "Kullanıcı Etiketi",
|
||||
"email": "E-posta",
|
||||
"phone_number": "Telefon Numarası",
|
||||
"via": "Via",
|
||||
"avatar": "Avatar",
|
||||
"hash_password": "Şifre",
|
||||
"password_token": "Şifre Token",
|
||||
"remember_me": "Beni Hatırla",
|
||||
"password_expires_day": "Şifre Son Kullanma Günü",
|
||||
"password_expiry_begins": "Şifre Son Kullanma Başlangıç",
|
||||
"related_company": "İlgili Şirket",
|
||||
"person_id": "Kişi ID",
|
||||
"person_uu_id": "Kişi UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"user_tag": "User Tag",
|
||||
"email": "Email",
|
||||
"phone_number": "Phone Number",
|
||||
"via": "Via",
|
||||
"avatar": "Avatar",
|
||||
"hash_password": "Password",
|
||||
"password_token": "Password Token",
|
||||
"remember_me": "Remember Me",
|
||||
"password_expires_day": "Password Expires Day",
|
||||
"password_expiry_begins": "Password Expiry Begins",
|
||||
"related_company": "Related Company",
|
||||
"person_id": "Person ID",
|
||||
"person_uu_id": "Person UUID",
|
||||
},
|
||||
)
|
||||
|
||||
RelationshipDutyPeopleLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"company_id": "Şirket ID",
|
||||
"duties_id": "Görev ID",
|
||||
"member_id": "Üye ID",
|
||||
"relationship_type": "İlişki Türü",
|
||||
"show_only": "Sadece Göster",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"company_id": "Company ID",
|
||||
"duties_id": "Duty ID",
|
||||
"member_id": "Member ID",
|
||||
"relationship_type": "Relationship Type",
|
||||
"show_only": "Show Only",
|
||||
},
|
||||
)
|
||||
|
||||
PeopleLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"firstname": "Ad",
|
||||
"surname": "Soyad",
|
||||
"middle_name": "Orta Ad",
|
||||
"sex_code": "Cinsiyet Kodu",
|
||||
"person_ref": "Kişi Referansı",
|
||||
"person_tag": "Kişi Etiketi",
|
||||
"father_name": "Baba Adı",
|
||||
"mother_name": "Anne Adı",
|
||||
"country_code": "Ülke Kodu",
|
||||
"national_identity_id": "Kimlik Numarası",
|
||||
"birth_place": "Doğum Yeri",
|
||||
"birth_date": "Doğum Tarihi",
|
||||
"tax_no": "Vergi Numarası",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"firstname": "First Name",
|
||||
"surname": "Last Name",
|
||||
"middle_name": "Middle Name",
|
||||
"sex_code": "Gender",
|
||||
"person_ref": "Person Reference",
|
||||
"person_tag": "Person Tag",
|
||||
"father_name": "Father Name",
|
||||
"mother_name": "Mother Name",
|
||||
"country_code": "Country Code",
|
||||
"national_identity_id": "National Identity ID",
|
||||
"birth_place": "Birth Place",
|
||||
"birth_date": "Birth Date",
|
||||
"tax_no": "Tax No",
|
||||
},
|
||||
)
|
||||
|
||||
RelationshipEmployee2PostCodeLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"company_id": "Şirket ID",
|
||||
"employee_id": "Çalışan ID",
|
||||
"member_id": "Üye ID",
|
||||
"relationship_type": "İlişki Türü",
|
||||
"show_only": "Sadece Göster",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"company_id": "Company ID",
|
||||
"employee_id": "Employee ID",
|
||||
"member_id": "Member ID",
|
||||
"relationship_type": "Relationship Type",
|
||||
"show_only": "Show Only",
|
||||
},
|
||||
)
|
||||
|
||||
AddressPostcodeLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"street_id": "Sokak ID",
|
||||
"street_uu_id": "Sokak UUID",
|
||||
"postcode": "Posta Kodu",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"street_id": "Street ID",
|
||||
"street_uu_id": "Street UUID",
|
||||
"postcode": "Postcode",
|
||||
},
|
||||
)
|
||||
|
||||
AddressesLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"build_number": "Bina Numarası",
|
||||
"door_number": "Kapı Numarası",
|
||||
"floor_number": "Kat Numarası",
|
||||
"comment_address": "Adres",
|
||||
"letter_address": "Adres",
|
||||
"short_letter_address": "Adres",
|
||||
"latitude": "Enlem",
|
||||
"longitude": "Boylam",
|
||||
"street_id": "Sokak ID",
|
||||
"street_uu_id": "Sokak UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"build_number": "Build Number",
|
||||
"door_number": "Door Number",
|
||||
"floor_number": "Floor Number",
|
||||
"comment_address": "Address",
|
||||
"letter_address": "Address",
|
||||
"short_letter_address": "Address",
|
||||
"latitude": "Latitude",
|
||||
"longitude": "Longitude",
|
||||
"street_id": "Street ID",
|
||||
"street_uu_id": "Street UUID",
|
||||
},
|
||||
)
|
||||
|
||||
AddressGeographicLocationsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"geo_table": "Tablo Adı",
|
||||
"geo_id": "ID",
|
||||
"geo_name": "Ad",
|
||||
"geo_latitude": "Enlem",
|
||||
"geo_longitude": "Boylam",
|
||||
"geo_altitude": "Yükseklik",
|
||||
"geo_description": "Açıklama",
|
||||
"geo_area_size": "Alan",
|
||||
"geo_population": "Nüfus",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"geo_table": "Table Name",
|
||||
"geo_id": "ID",
|
||||
"geo_name": "Name",
|
||||
"geo_latitude": "Latitude",
|
||||
"geo_longitude": "Longitude",
|
||||
"geo_altitude": "Altitude",
|
||||
"geo_description": "Description",
|
||||
"geo_area_size": "Area",
|
||||
"geo_population": "Population",
|
||||
},
|
||||
)
|
||||
|
||||
AddressCountryLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"country_code": "Ülke Kodu",
|
||||
"country_name": "Ülke Adı",
|
||||
"money_code": "Para Kodu",
|
||||
"language": "Dil Kodu",
|
||||
"address_geographic_id": "Adres Coğrafi ID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"country_code": "Country Code",
|
||||
"country_name": "Country Name",
|
||||
"money_code": "Money Code",
|
||||
"language": "Language Code",
|
||||
"address_geographic_id": "Address Geographic ID",
|
||||
},
|
||||
)
|
||||
|
||||
AddressStateLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"state_code": "Eyalet Kodu",
|
||||
"state_name": "Eyalet Adı",
|
||||
"licence_plate": "Plaka Kodu",
|
||||
"phone_code": "Telefon Kodu",
|
||||
"gov_code": "Hükümet Kodu",
|
||||
"address_geographic_id": "Adres Coğrafi ID",
|
||||
"country_id": "Ülke ID",
|
||||
"country_uu_id": "Ülke UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"state_code": "State Code",
|
||||
"state_name": "State Name",
|
||||
"licence_plate": "Licence Plate",
|
||||
"phone_code": "Phone Code",
|
||||
"gov_code": "Government Code",
|
||||
"address_geographic_id": "Address Geographic ID",
|
||||
"country_id": "Country ID",
|
||||
"country_uu_id": "Country UUID",
|
||||
},
|
||||
)
|
||||
|
||||
AddressCityLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"city_code": "Şehir Kodu",
|
||||
"city_name": "Şehir Adı",
|
||||
"licence_plate": "Plaka Kodu",
|
||||
"phone_code": "Telefon Kodu",
|
||||
"gov_code": "Hükümet Kodu",
|
||||
"address_geographic_id": "Adres Coğrafi ID",
|
||||
"state_id": "Eyalet ID",
|
||||
"state_uu_id": "Eyalet UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"city_code": "City Code",
|
||||
"city_name": "City Name",
|
||||
"licence_plate": "Licence Plate",
|
||||
"phone_code": "Phone Code",
|
||||
"gov_code": "Government Code",
|
||||
"address_geographic_id": "Address Geographic ID",
|
||||
"state_id": "State ID",
|
||||
"state_uu_id": "State UUID",
|
||||
},
|
||||
)
|
||||
|
||||
AddressDistrictLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"district_code": "İlçe Kodu",
|
||||
"district_name": "İlçe Adı",
|
||||
"phone_code": "Telefon Kodu",
|
||||
"gov_code": "Hükümet Kodu",
|
||||
"address_geographic_id": "Adres Coğrafi ID",
|
||||
"city_id": "Şehir ID",
|
||||
"city_uu_id": "Şehir UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"district_code": "District Code",
|
||||
"district_name": "District Name",
|
||||
"phone_code": "Phone Code",
|
||||
"gov_code": "Government Code",
|
||||
"address_geographic_id": "Address Geographic ID",
|
||||
"city_id": "City ID",
|
||||
"city_uu_id": "City UUID",
|
||||
},
|
||||
)
|
||||
|
||||
AddressLocalityLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"locality_code": "Mahalle Kodu",
|
||||
"locality_name": "Mahalle Adı",
|
||||
"type_code": "Tip Kodu",
|
||||
"type_description": "Tip Açıklaması",
|
||||
"gov_code": "Hükümet Kodu",
|
||||
"address_show": "Adres Göster",
|
||||
"address_geographic_id": "Adres Coğrafi ID",
|
||||
"district_id": "İlçe ID",
|
||||
"district_uu_id": "İlçe UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"locality_code": "Locality Code",
|
||||
"locality_name": "Locality Name",
|
||||
"type_code": "Type Code",
|
||||
"type_description": "Type Description",
|
||||
"gov_code": "Government Code",
|
||||
"address_show": "Address Show",
|
||||
"address_geographic_id": "Address Geographic ID",
|
||||
"district_id": "District ID",
|
||||
"district_uu_id": "District UUID",
|
||||
},
|
||||
)
|
||||
|
||||
AddressNeighborhoodLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"neighborhood_code": "Mahalle Kodu",
|
||||
"neighborhood_name": "Mahalle Adı",
|
||||
"type_code": "Tip Kodu",
|
||||
"type_description": "Tip Açıklaması",
|
||||
"gov_code": "Hükümet Kodu",
|
||||
"address_show": "Adres Göster",
|
||||
"address_geographic_id": "Adres Coğrafi ID",
|
||||
"district_id": "İlçe ID",
|
||||
"district_uu_id": "İlçe UUID",
|
||||
"locality_id": "Mahalle ID",
|
||||
"locality_uu_id": "Mahalle UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"neighborhood_code": "Neighborhood Code",
|
||||
"neighborhood_name": "Neighborhood Name",
|
||||
"type_code": "Type Code",
|
||||
"type_description": "Type Description",
|
||||
"gov_code": "Government Code",
|
||||
"address_show": "Address Show",
|
||||
"address_geographic_id": "Address Geographic ID",
|
||||
"district_id": "District ID",
|
||||
"district_uu_id": "District UUID",
|
||||
"locality_id": "Locality ID",
|
||||
"locality_uu_id": "Locality UUID",
|
||||
},
|
||||
)
|
||||
|
||||
AddressStreetLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"street_code": "Sokak Kodu",
|
||||
"street_name": "Sokak Adı",
|
||||
"type_code": "Tip Kodu",
|
||||
"type_description": "Tip Açıklaması",
|
||||
"gov_code": "Hükümet Kodu",
|
||||
"address_geographic_id": "Adres Coğrafi ID",
|
||||
"neighborhood_id": "Mahalle ID",
|
||||
"neighborhood_uu_id": "Mahalle UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"street_code": "Street Code",
|
||||
"street_name": "Street Name",
|
||||
"type_code": "Type Code",
|
||||
"type_description": "Type Description",
|
||||
"gov_code": "Government Code",
|
||||
"address_geographic_id": "Address Geographic ID",
|
||||
"neighborhood_id": "Neighborhood ID",
|
||||
"neighborhood_uu_id": "Neighborhood UUID",
|
||||
},
|
||||
)
|
||||
|
||||
OccupantTypesLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"occupant_type": "Kişi Türü",
|
||||
"occupant_description": "Kişi Açıklaması",
|
||||
"occupant_code": "Kişi Kodu",
|
||||
"occupant_category": "Kişi Kategori",
|
||||
"occupant_category_type": "Kişi Kategori Türü",
|
||||
"occupant_is_unique": "Kişi Benzersiz",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"occupant_type": "Occupant Type",
|
||||
"occupant_description": "Occupant Description",
|
||||
"occupant_code": "Occupant Code",
|
||||
"occupant_category": "Occupant Category",
|
||||
"occupant_category_type": "Occupant Category Type",
|
||||
"occupant_is_unique": "Occupant Unique",
|
||||
},
|
||||
)
|
||||
|
||||
ContractsLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"contract_type": "Sözleşme Türü",
|
||||
"contract_title": "Sözleşme Başlığı",
|
||||
"contract_details": "Sözleşme Detayları",
|
||||
"contract_terms": "Sözleşme Şartları",
|
||||
"contract_code": "Sözleşme Kodu",
|
||||
"contract_date": "Sözleşme Tarihi",
|
||||
"company_id": "Şirket ID",
|
||||
"company_uu_id": "Şirket UUID",
|
||||
"person_id": "Kişi ID",
|
||||
"person_uu_id": "Kişi UUID",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"contract_type": "Contract Type",
|
||||
"contract_title": "Contract Title",
|
||||
"contract_details": "Contract Details",
|
||||
"contract_terms": "Contract Terms",
|
||||
"contract_code": "Contract Code",
|
||||
"contract_date": "Contract Date",
|
||||
"company_id": "Company ID",
|
||||
"company_uu_id": "Company UUID",
|
||||
"person_id": "Person ID",
|
||||
"person_uu_id": "Person UUID",
|
||||
},
|
||||
)
|
||||
20
ApiLayers/LanguageModels/Database/rules/rules.py
Normal file
20
ApiLayers/LanguageModels/Database/rules/rules.py
Normal file
@@ -0,0 +1,20 @@
|
||||
from LanguageModels.Database.Mixins.crud_mixin import CrudCollectionLanguageModel
|
||||
|
||||
EndpointRestrictionLanguageModel = dict(
|
||||
tr={
|
||||
**CrudCollectionLanguageModel["tr"],
|
||||
"endpoint_function": "API Fonksiyonu",
|
||||
"endpoint_name": "API Adı",
|
||||
"endpoint_method": "API Metodu",
|
||||
"endpoint_desc": "API Açıklaması",
|
||||
"endpoint_code": "API Kodu",
|
||||
},
|
||||
en={
|
||||
**CrudCollectionLanguageModel["en"],
|
||||
"endpoint_function": "API Function",
|
||||
"endpoint_name": "API Name",
|
||||
"endpoint_method": "API Method",
|
||||
"endpoint_desc": "API Description",
|
||||
"endpoint_code": "API Code",
|
||||
},
|
||||
)
|
||||
3
ApiLayers/LanguageModels/Errors/__init__.py
Normal file
3
ApiLayers/LanguageModels/Errors/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from .merge_all_error_languages import MergedErrorLanguageModels
|
||||
|
||||
__all__ = ["MergedErrorLanguageModels"]
|
||||
35
ApiLayers/LanguageModels/Errors/base_languages.py
Normal file
35
ApiLayers/LanguageModels/Errors/base_languages.py
Normal file
@@ -0,0 +1,35 @@
|
||||
class BaseErrorLanguageModelTurkish:
|
||||
|
||||
NOT_CREATED: str = "Kayıt oluşturulamadı."
|
||||
NOT_DELETED: str = "Kayıt silinemedi."
|
||||
NOT_UPDATED: str = "Kayıt güncellenemedi."
|
||||
NOT_LISTED: str = "Kayıt listelenemedi."
|
||||
NOT_FOUND: str = "Kayıt bulunamadı."
|
||||
ALREADY_EXISTS: str = "Kayıt zaten mevcut."
|
||||
IS_NOT_CONFIRMED: str = "Kayıt onaylanmadı."
|
||||
NOT_AUTHORIZED: str = "Yetkisiz kullanıcı."
|
||||
NOT_VALID: str = "Gecersiz veri."
|
||||
NOT_ACCEPTABLE: str = "Gecersiz veri."
|
||||
INVALID_DATA: str = "Gecersiz veri."
|
||||
UNKNOWN_ERROR: str = "Bilinmeyen bir hata oluştu."
|
||||
|
||||
|
||||
class BaseErrorLanguageModelEnglish:
|
||||
|
||||
NOT_CREATED: str = "Not Created."
|
||||
NOT_DELETED: str = "Not Deleted."
|
||||
NOT_UPDATED: str = "Not Updated."
|
||||
NOT_LISTED: str = "Not Listed."
|
||||
NOT_FOUND: str = "Not Found."
|
||||
ALREADY_EXISTS: str = "Already Exists."
|
||||
IS_NOT_CONFIRMED: str = "Not Confirmed."
|
||||
NOT_AUTHORIZED: str = "Not Authorized."
|
||||
NOT_VALID: str = "Not Valid."
|
||||
NOT_ACCEPTABLE: str = "Not Acceptable."
|
||||
INVALID_DATA: str = "Invalid Data."
|
||||
UNKNOWN_ERROR: str = "Unknown Error occured."
|
||||
|
||||
|
||||
class BaseErrorLanguageModels:
|
||||
tr: BaseErrorLanguageModelTurkish = BaseErrorLanguageModelTurkish
|
||||
en: BaseErrorLanguageModelEnglish = BaseErrorLanguageModelEnglish
|
||||
18
ApiLayers/LanguageModels/Errors/merge_all_error_languages.py
Normal file
18
ApiLayers/LanguageModels/Errors/merge_all_error_languages.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from LanguageModels.Errors.base_languages import BaseErrorLanguageModels
|
||||
|
||||
|
||||
class MergedErrorLanguageModels:
|
||||
list_of_languages = [BaseErrorLanguageModels]
|
||||
|
||||
@classmethod
|
||||
def get_language_models(cls, language: str):
|
||||
language_model_keys = {}
|
||||
for list_of_language in cls.list_of_languages:
|
||||
language_model_class = getattr(list_of_language, language, None)
|
||||
clean_dict = {
|
||||
key: value
|
||||
for key, value in language_model_class.__dict__.items()
|
||||
if "__" not in str(key)[0:3]
|
||||
}
|
||||
language_model_keys.update(clean_dict)
|
||||
return language_model_keys
|
||||
0
ApiLayers/LanguageModels/__init__.py
Normal file
0
ApiLayers/LanguageModels/__init__.py
Normal file
Reference in New Issue
Block a user