| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
- // ==========================================================================
- package internal
- import (
- "github.com/gogf/gf/os/gtime"
- )
- // CtrContractAdvance is the golang structure for table ctr_contract_advance.
- type CtrContractAdvance struct {
- Id int `orm:"id,primary" json:"id"` // 主键ID
- AdvanceCode string `orm:"advance_code,unique" json:"advanceCode"` // 提前执行申请编号(系统自动生成)
- AdvanceName string `orm:"advance_name" json:"advanceName"` // 提前执行项目名称
- NboId int `orm:"nbo_id" json:"nboId"` // 关联项目ID(与正式合同一致)
- NboName string `orm:"nbo_name" json:"nboName"` // 项目名称
- CustId int `orm:"cust_id" json:"custId"` // 客户ID
- 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"` // 所在市
- SignatoryType string `orm:"signatory_type" json:"signatoryType"` // 签订单位类型 10终端 20经销商 30代理商
- SignatoryUnit string `orm:"signatory_unit" json:"signatoryUnit"` // 合同签订单位
- DistributorId int `orm:"distributor_id" json:"distributorId"` // 经销商ID
- DistributorName string `orm:"distributor_name" json:"distributorName"` // 经销商名称
- EstimateAmount float64 `orm:"estimate_amount" json:"estimateAmount"` // 预估合同金额(提前执行必填)
- EarnestMoney float64 `orm:"earnest_money" json:"earnestMoney"` // 质量/履约保证金
- AdvanceExecuteTime *gtime.Time `orm:"advance_execute_time" json:"advanceExecuteTime"` // 计划提前执行开始时间
- EstimateSignTime *gtime.Time `orm:"estimate_sign_time" json:"estimateSignTime"` // 预计正式合同签订时间
- AdvanceReason string `orm:"advance_reason" json:"advanceReason"` // 提前执行原因(必填)
- ExecuteScope string `orm:"execute_scope" json:"executeScope"` // 提前执行范围/内容说明
- InchargeId int `orm:"incharge_id" json:"inchargeId"` // 负责人ID
- InchargeName string `orm:"incharge_name" json:"inchargeName"` // 负责人(销售)
- ApproStatus string `orm:"appro_status" json:"approStatus"` // 审核状态 10待提交 20审核中 30审核通过 40审核拒绝 50已撤销 60已转正式合同
- ContractId int `orm:"contract_id" json:"contractId"` // 转换后的正式合同ID(转合同后回填)
- ContractCode string `orm:"contract_code" json:"contractCode"` // 正式合同编号
- ConvertTime *gtime.Time `orm:"convert_time" json:"convertTime"` // 转换为正式合同的时间
- ConvertBy int `orm:"convert_by" json:"convertBy"` // 转换操作人ID
- ConvertName string `orm:"convert_name" json:"convertName"` // 转换操作人姓名
- Remark string `orm:"remark" json:"remark"` // 备注
- CreatedBy int `orm:"created_by" json:"createdBy"` // 创建人ID
- CreatedName string `orm:"created_name" json:"createdName"` // 创建人姓名
- CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
- UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新人ID
- UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人姓名
- UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
- DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间(软删除)
- }
|