// ========================================================================== // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY. // ========================================================================== package internal import ( "github.com/gogf/gf/os/gtime" ) // CtrContract is the golang structure for table ctr_contract. type CtrContract struct { Id int `orm:"id,primary" json:"id"` // 主键 ContractCode string `orm:"contract_code" json:"contractCode"` // 合同编号 ContractName string `orm:"contract_name" json:"contractName"` // 合同名称 CustId int `orm:"cust_id" json:"custId"` // 关联客户 CustName string `orm:"cust_name" json:"custName"` // 客户名称 ProductLine string `orm:"product_line" json:"productLine"` // 产品线 IsBig string `orm:"is_big" json:"isBig"` // 是否为大项目 CustProvinceId int `orm:"cust_province_id" json:"custProvinceId"` // 所在省ID CustProvince string `orm:"cust_province" json:"custProvince"` // 所在省 CustCityId int `orm:"cust_city_id" json:"custCityId"` // 所在市ID CustCity string `orm:"cust_city" json:"custCity"` // 所在市 NboId int `orm:"nbo_id" json:"nboId"` // 关联项目 NboName string `orm:"nbo_name" json:"nboName"` // 项目名称 ApproStatus string `orm:"appro_status" json:"approStatus"` // 审核状态 10 待提交审核 20 待审核 30 审核已同意 40 审核已拒绝 50 审核已撤销 ContractType string `orm:"contract_type" json:"contractType"` // 合同类型 ContractAmount float64 `orm:"contract_amount" json:"contractAmount"` // 合同金额 InvoiceAmount float64 `orm:"invoice_amount" json:"invoiceAmount"` // 已开票金额 CollectedAmount float64 `orm:"collected_amount" json:"collectedAmount"` // 已回款金额 ContractStartTime *gtime.Time `orm:"contract_start_time" json:"contractStartTime"` // 合同开始时间 ContractEndTime *gtime.Time `orm:"contract_end_time" json:"contractEndTime"` // 合同结束时间 ContractSignTime *gtime.Time `orm:"contract_sign_time" json:"contractSignTime"` // 合同签订时间 InchargeId int `orm:"incharge_id" json:"inchargeId"` // 负责人ID InchargeName string `orm:"incharge_name" json:"inchargeName"` // 负责人(销售工程师) SignatoryId int `orm:"signatory_id" json:"signatoryId"` // 公司签约人ID SignatoryName string `orm:"signatory_name" json:"signatoryName"` // 公司签约人 SignatoryType string `orm:"signatory_type" json:"signatoryType"` // 签订单位类型 10 终端用户 20 经销商 30 代理商 SignatoryUnit string `orm:"signatory_unit" json:"signatoryUnit"` // 合同签订单位 EarnestMoney float64 `orm:"earnest_money" json:"earnestMoney"` // 质量/履约保证金(元) CustSignatoryId int `orm:"cust_signatory_id" json:"custSignatoryId"` // 客户签约人ID CustSignatoryName string `orm:"cust_signatory_name" json:"custSignatoryName"` // 客户签约人 DistributorId int `orm:"distributor_id" json:"distributorId"` // 经销商ID DistributorName string `orm:"distributor_name" json:"distributorName"` // 经销商 ServiceFeeAgreement string `orm:"service_fee_agreement" json:"serviceFeeAgreement"` // 运维服务费约定 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"` // 删除时间 }