oms-LoanManagement/Admin/Install/db.json
Dennis Eichhorn 7707a72946 ui fixes
2024-04-07 17:31:42 +00:00

184 lines
6.1 KiB
JSON
Executable File

{
"loanmgmt_cost_type": {
"name": "loanmgmt_cost_type",
"fields": {
"loanmgmt_cost_type_id": {
"name": "loanmgmt_cost_type_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"loanmgmt_cost_type_name": {
"name": "loanmgmt_cost_type_name",
"type": "VARCHAR(255)",
"null": false,
"unique": true
},
"loanmgmt_cost_type_sign": {
"name": "loanmgmt_cost_type_sign",
"type": "TINYINT(1)",
"null": false
},
"loanmgmt_cost_type_loan": {
"name": "loanmgmt_cost_type_loan",
"type": "TINYINT(1)",
"null": false
}
}
},
"loanmgmt_cost_type_l11n": {
"name": "loanmgmt_cost_type_l11n",
"fields": {
"loanmgmt_cost_type_l11n_id": {
"name": "loanmgmt_cost_type_l11n_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"loanmgmt_cost_type_l11n_title": {
"name": "loanmgmt_cost_type_l11n_title",
"type": "VARCHAR(255)",
"null": false
},
"loanmgmt_cost_type_l11n_type": {
"name": "loanmgmt_cost_type_l11n_type",
"type": "INT",
"null": false,
"foreignTable": "loanmgmt_cost_type",
"foreignKey": "loanmgmt_cost_type_id"
},
"loanmgmt_cost_type_l11n_language": {
"name": "loanmgmt_cost_type_l11n_language",
"type": "VARCHAR(2)",
"default": null,
"null": true,
"foreignTable": "language",
"foreignKey": "language_639_1"
}
}
},
"loanmgmt_loan": {
"name": "loanmgmt_loan",
"fields": {
"loanmgmt_loan_id": {
"name": "loanmgmt_loan_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"loanmgmt_loan_name": {
"name": "loanmgmt_loan_name",
"type": "VARCHAR(255)",
"null": false
},
"loanmgmt_loan_description": {
"name": "loanmgmt_loan_description",
"type": "TEXT",
"null": false
},
"loanmgmt_loan_status": {
"name": "loanmgmt_loan_status",
"type": "INT",
"null": false
},
"loanmgmt_loan_borrowing_rate": {
"name": "loanmgmt_loan_borrowing_rate",
"type": "INT",
"null": false
},
"loanmgmt_loan_post_rate": {
"name": "loanmgmt_loan_post_rate",
"type": "INT",
"null": false
},
"loanmgmt_loan_special_payment": {
"name": "loanmgmt_loan_special_payment",
"type": "INT",
"null": false
},
"loanmgmt_loan_supplier": {
"name": "loanmgmt_loan_supplier",
"type": "INT",
"null": false,
"foreignTable": "suppliermgmt_supplier",
"foreignKey": "suppliermgmt_supplier_id"
},
"loanmgmt_loan_start": {
"name": "loanmgmt_loan_start",
"type": "DATETIME",
"null": true
},
"loanmgmt_loan_end": {
"name": "loanmgmt_loan_end",
"type": "DATETIME",
"null": true
},
"loanmgmt_loan_created_at": {
"name": "loanmgmt_loan_created_at",
"type": "DATETIME",
"null": true
},
"loanmgmt_loan_created_by": {
"name": "loanmgmt_loan_created_by",
"type": "INT",
"null": false,
"foreignTable": "account",
"foreignKey": "account_id"
},
"loanmgmt_loan_unit": {
"name": "loanmgmt_loan_unit",
"type": "INT",
"default": null,
"null": true,
"foreignTable": "unit",
"foreignKey": "unit_id"
}
}
},
"loanmgmt_loan_element": {
"name": "loanmgmt_loan_element",
"fields": {
"loanmgmt_loan_element_id": {
"name": "loanmgmt_loan_element_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"loanmgmt_loan_description": {
"name": "loanmgmt_loan_description",
"type": "TEXT",
"null": false
},
"loanmgmt_loan_element_amount": {
"name": "loanmgmt_loan_element_amount",
"type": "BIGINT",
"null": false
},
"loanmgmt_loan_element_date": {
"name": "loanmgmt_loan_element_date",
"type": "DATETIME",
"null": true
},
"loanmgmt_loan_element_type": {
"name": "loanmgmt_loan_element_type",
"type": "INT",
"default": null,
"null": true,
"foreignTable": "loanmgmt_cost_type",
"foreignKey": "loanmgmt_cost_type_id"
},
"loanmgmt_loan_element_loan": {
"name": "loanmgmt_loan_element_loan",
"type": "INT",
"default": null,
"null": true,
"foreignTable": "loanmgmt_loan",
"foreignKey": "loanmgmt_loan_id"
}
}
}
}