// ========================================================================== // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY. // ========================================================================== package internal import ( "github.com/gogf/gf/os/gtime" ) // CtrContractInvoice is the golang structure for table ctr_contract_invoice. type CtrContractInvoice struct { Id int `orm:"id,primary" json:"id"` // 主键 CustId int `orm:"cust_id" json:"custId"` // 关联客户 CustName string `orm:"cust_name" json:"custName"` // 客户名称 ContractId int `orm:"contract_id" json:"contractId"` // 关联合同 ContractCode string `orm:"contract_code" json:"contractCode"` // 合同编号 ContractAmount float64 `orm:"contract_amount" json:"contractAmount"` // 合同金额 InvoiceAmount float64 `orm:"invoice_amount" json:"invoiceAmount"` // 开票金额 InvoiceDate *gtime.Time `orm:"invoice_date" json:"invoiceDate"` // 开票日期 InvoiceType string `orm:"invoice_type" json:"invoiceType"` // 开票类型 ApproStatus string `orm:"appro_status" json:"approStatus"` // 审核状态 10 待提交审核 20 待审核 30 审核已同意 40 审核已拒绝 50 审核已撤销 InvoiceCode string `orm:"invoice_code" json:"invoiceCode"` // 发票号码 ActualInvoiceDate *gtime.Time `orm:"actual_invoice_date" json:"actualInvoiceDate"` // 实际开票日期 CourierCode string `orm:"courier_code" json:"courierCode"` // 快递单号 TaxNo string `orm:"tax_no" json:"taxNo"` // 税号 Address string `orm:"address" json:"address"` // 开票地址 Phone string `orm:"phone" json:"phone"` // 开票电话 Bank string `orm:"bank" json:"bank"` // 开户行 AccountNo string `orm:"account_no" json:"accountNo"` // 账号 Remark string `orm:"remark" json:"remark"` // 备注 CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者 CreatedName string `orm:"created_name" json:"createdName"` // 创建人 CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间 UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者 UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人 UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间 DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间 }