// ========================================================================== // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY. // ========================================================================== package internal import ( "github.com/gogf/gf/os/gtime" ) // CtrContractShare is the golang structure for table ctr_contract_share. type CtrContractShare struct { Id int `orm:"id,primary" json:"id"` // 主键 ContractId int `orm:"contract_id" json:"contractId"` // 关联合同 ContractCode string `orm:"contract_code" json:"contractCode"` // 合同编号 ContractAmount float64 `orm:"contract_amount" json:"contractAmount"` // 合同金额 ContractSignTime *gtime.Time `orm:"contract_sign_time" json:"contractSignTime"` // 合同签订时间(提高统计效率,此处没有连表查询) SaleId int `orm:"sale_id" json:"saleId"` // 归属销售 SaleName string `orm:"sale_name" json:"saleName"` // 销售姓名 ShareRatio float64 `orm:"share_ratio" json:"shareRatio"` // 销售分成比例 ShareAmount float64 `orm:"share_amount" json:"shareAmount"` // 销售分成金额 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"` // 删除时间 }