// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package cust import ( "dashoo.cn/opms_libary/request" "github.com/gogf/gf/os/gtime" "dashoo.cn/micro/app/model/cust/internal" ) // CustCustomerBelong is the golang structure for table cust_customer_belong. type CustCustomerBelong internal.CustCustomerBelong // Fill with you ideas below. type CustomerBelongAddSeq struct { CustId int ` json:"custId" v:"required#关联客户ID不能为空"` // 关联客户 SaleName string ` json:"saleName" v:"required#归属销售不能为空"` // 归属销售 OrigSaleName string ` json:"origSaleName" ` // 原来归属 OpnType string ` json:"opnType"` // 操作方式(10分配20转移) OpnPeople string ` json:"opnPeople" ` // 操作人 StartDate *gtime.Time ` json:""startDate" v:"required#开始时间不能为空"` //开始时间 OpnDatetime *gtime.Time ` json:"opnDatetime" ` // 操作时间 } // 返回信息 type CustomerBelongInfo struct { CustId int ` json:"custId"` // 关联客户 SaleName string ` json:"saleName"` // 归属销售 OrigSaleName string ` json:"origSaleName"` // 原来归属 OpnType string ` json:"opnType"` // 操作方式(10分配20转移) OpnPeople string ` json:"opnPeople"` // 操作人 OpnDatetime *gtime.Time ` json:"opnDatetime"` // 操作时间 Remark string ` json:"remark"` // 备注 CreatedBy int ` json:"createdBy"` // 创建者 CreatedName string ` json:"createdName"` // 创建人 CreatedTime *gtime.Time ` json:"createdTime"` // 创建时间 StartDate *gtime.Time ` json:"startDate"` // 开始时间 EndDate *gtime.Time ` json:"endDate"` // 结束时间 } //列表操作 type ReqCustomerBelongReq struct { CustId int ` json:"custId"` // 关联客户 request.PageReq }