ctr_contract.go 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. // CtrContract is the golang structure for table ctr_contract.
  9. type CtrContract struct {
  10. Id int `orm:"id,primary" json:"id"` // 主键
  11. ContractCode string `orm:"contract_code" json:"contractCode"` // 合同编号
  12. ContractName string `orm:"contract_name" json:"contractName"` // 合同名称
  13. CustId int `orm:"cust_id" json:"custId"` // 关联客户
  14. CustName string `orm:"cust_name" json:"custName"` // 客户名称
  15. ProductLine string `orm:"product_line" json:"productLine"` // 产品线
  16. CustProvinceId int `orm:"cust_province_id" json:"custProvinceId"` // 所在省ID
  17. CustProvince string `orm:"cust_province" json:"custProvince"` // 所在省
  18. CustCityId int `orm:"cust_city_id" json:"custCityId"` // 所在市ID
  19. CustCity string `orm:"cust_city" json:"custCity"` // 所在市
  20. NboId int `orm:"nbo_id" json:"nboId"` // 关联项目
  21. NboName string `orm:"nbo_name" json:"nboName"` // 项目名称
  22. ApproStatus string `orm:"appro_status" json:"approStatus"` // 审核状态 10 待提交审核 20 待审核 30 审核已同意 40 审核已拒绝 50 审核已撤销
  23. ContractType string `orm:"contract_type" json:"contractType"` // 合同类型
  24. ContractAmount float64 `orm:"contract_amount" json:"contractAmount"` // 合同金额
  25. InvoiceAmount float64 `orm:"invoice_amount" json:"invoiceAmount"` // 已开票金额
  26. CollectedAmount float64 `orm:"collected_amount" json:"collectedAmount"` // 已回款金额
  27. ContractStartTime *gtime.Time `orm:"contract_start_time" json:"contractStartTime"` // 合同开始时间
  28. ContractEndTime *gtime.Time `orm:"contract_end_time" json:"contractEndTime"` // 合同结束时间
  29. InchargeId int `orm:"incharge_id" json:"inchargeId"` // 负责人ID
  30. InchargeName string `orm:"incharge_name" json:"inchargeName"` // 负责人(销售工程师)
  31. SignatoryId int `orm:"signatory_id" json:"signatoryId"` // 公司签约人ID
  32. SignatoryName string `orm:"signatory_name" json:"signatoryName"` // 公司签约人
  33. SignatoryType string `orm:"signatory_type" json:"signatoryType"` // 签订单位类型 10 终端用户 20 经销商 30 代理商
  34. CustSignatoryId int `orm:"cust_signatory_id" json:"custSignatoryId"` // 客户签约人ID
  35. CustSignatoryName string `orm:"cust_signatory_name" json:"custSignatoryName"` // 客户签约人
  36. DistributorId int `orm:"distributor_id" json:"distributorId"` // 经销商ID
  37. DistributorName string `orm:"distributor_name" json:"distributorName"` // 经销商
  38. Remark string `orm:"remark" json:"remark"` // 备注
  39. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  40. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  41. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  42. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  43. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  44. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  45. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  46. }