This commit is contained in:
che
2026-07-23 12:19:46 +05:00
parent dddf6516d3
commit 42029533fd
12 changed files with 603 additions and 11 deletions
+24
View File
@@ -56,3 +56,27 @@ pub struct Counterparty {
pub name: String,
}
#[derive(Debug, Clone, Model)]
#[model(table = "contract_application_file")]
pub struct ContractApplicationFile {
#[field(primary_key)]
pub id: i64,
#[field(foreign_key = Contract)]
pub contract_id: i64,
pub name: String,
pub file_type: String,
pub file_type_display: String,
pub status: String,
pub status_display: String,
pub absolute_url: String,
pub scan_name: String,
pub scan_url: String,
pub local_path: String,
pub comment: String,
pub bill_total: f64,
pub bill_cost_total: f64,
pub questionnair: Option<i64>,
}