ctr_contract_share.go 2.0 KB

123456789101112131415161718192021222324252627282930
  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. // CtrContractShare is the golang structure for table ctr_contract_share.
  9. type CtrContractShare struct {
  10. Id int `orm:"id,primary" json:"id"` // 主键
  11. ContractId int `orm:"contract_id" json:"contractId"` // 关联合同
  12. ContractCode string `orm:"contract_code" json:"contractCode"` // 合同编号
  13. ContractAmount float64 `orm:"contract_amount" json:"contractAmount"` // 合同金额
  14. ContractSignTime *gtime.Time `orm:"contract_sign_time" json:"contractSignTime"` // 合同签订时间(提高统计效率,此处没有连表查询)
  15. SaleId int `orm:"sale_id" json:"saleId"` // 归属销售
  16. SaleName string `orm:"sale_name" json:"saleName"` // 销售姓名
  17. ShareRatio float64 `orm:"share_ratio" json:"shareRatio"` // 销售分成比例
  18. ShareAmount float64 `orm:"share_amount" json:"shareAmount"` // 销售分成金额
  19. Remark string `orm:"remark" json:"remark"` // 备注
  20. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  21. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  22. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  23. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  24. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  25. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  26. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  27. }