ctr_contract_advance.go 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
  3. // ==========================================================================
  4. package internal
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. )
  8. // CtrContractAdvance is the golang structure for table ctr_contract_advance.
  9. type CtrContractAdvance struct {
  10. Id int `orm:"id,primary" json:"id"` // 主键ID
  11. AdvanceCode string `orm:"advance_code,unique" json:"advanceCode"` // 提前执行申请编号(系统自动生成)
  12. AdvanceName string `orm:"advance_name" json:"advanceName"` // 提前执行项目名称
  13. NboId int `orm:"nbo_id" json:"nboId"` // 关联项目ID(与正式合同一致)
  14. NboName string `orm:"nbo_name" json:"nboName"` // 项目名称
  15. CustId int `orm:"cust_id" json:"custId"` // 客户ID
  16. CustName string `orm:"cust_name" json:"custName"` // 客户名称
  17. ProductLine string `orm:"product_line" json:"productLine"` // 产品线
  18. IsBig string `orm:"is_big" json:"isBig"` // 是否大项目
  19. CustProvinceId int `orm:"cust_province_id" json:"custProvinceId"` // 所在省ID
  20. CustProvince string `orm:"cust_province" json:"custProvince"` // 所在省
  21. CustCityId int `orm:"cust_city_id" json:"custCityId"` // 所在市ID
  22. CustCity string `orm:"cust_city" json:"custCity"` // 所在市
  23. SignatoryType string `orm:"signatory_type" json:"signatoryType"` // 签订单位类型 10终端 20经销商 30代理商
  24. SignatoryUnit string `orm:"signatory_unit" json:"signatoryUnit"` // 合同签订单位
  25. DistributorId int `orm:"distributor_id" json:"distributorId"` // 经销商ID
  26. DistributorName string `orm:"distributor_name" json:"distributorName"` // 经销商名称
  27. EstimateAmount float64 `orm:"estimate_amount" json:"estimateAmount"` // 预估合同金额(提前执行必填)
  28. EarnestMoney float64 `orm:"earnest_money" json:"earnestMoney"` // 质量/履约保证金
  29. AdvanceExecuteTime *gtime.Time `orm:"advance_execute_time" json:"advanceExecuteTime"` // 计划提前执行开始时间
  30. EstimateSignTime *gtime.Time `orm:"estimate_sign_time" json:"estimateSignTime"` // 预计正式合同签订时间
  31. AdvanceReason string `orm:"advance_reason" json:"advanceReason"` // 提前执行原因(必填)
  32. ExecuteScope string `orm:"execute_scope" json:"executeScope"` // 提前执行范围/内容说明
  33. InchargeId int `orm:"incharge_id" json:"inchargeId"` // 负责人ID
  34. InchargeName string `orm:"incharge_name" json:"inchargeName"` // 负责人(销售)
  35. ApproStatus string `orm:"appro_status" json:"approStatus"` // 审核状态 10待提交 20审核中 30审核通过 40审核拒绝 50已撤销 60已转正式合同
  36. ContractId int `orm:"contract_id" json:"contractId"` // 转换后的正式合同ID(转合同后回填)
  37. ContractCode string `orm:"contract_code" json:"contractCode"` // 正式合同编号
  38. ConvertTime *gtime.Time `orm:"convert_time" json:"convertTime"` // 转换为正式合同的时间
  39. ConvertBy int `orm:"convert_by" json:"convertBy"` // 转换操作人ID
  40. ConvertName string `orm:"convert_name" json:"convertName"` // 转换操作人姓名
  41. Remark string `orm:"remark" json:"remark"` // 备注
  42. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建人ID
  43. CreatedName string `orm:"created_name" json:"createdName"` // 创建人姓名
  44. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  45. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新人ID
  46. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人姓名
  47. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  48. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间(软删除)
  49. }