fix
This commit is contained in:
@@ -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>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user