cust_customer_belong.go 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package cust
  5. import (
  6. "dashoo.cn/opms_libary/request"
  7. "github.com/gogf/gf/os/gtime"
  8. "dashoo.cn/micro/app/model/cust/internal"
  9. )
  10. // CustCustomerBelong is the golang structure for table cust_customer_belong.
  11. type CustCustomerBelong internal.CustCustomerBelong
  12. // Fill with you ideas below.
  13. type CustomerBelongAddSeq struct {
  14. CustId int ` json:"custId" v:"required#关联客户ID不能为空"` // 关联客户
  15. SaleName string ` json:"saleName" v:"required#归属销售不能为空"` // 归属销售
  16. OrigSaleName string ` json:"origSaleName" ` // 原来归属
  17. OpnType string ` json:"opnType"` // 操作方式(10分配20转移)
  18. OpnPeople string ` json:"opnPeople" ` // 操作人
  19. OpnDatetime *gtime.Time ` json:"opnDatetime" ` // 操作时间
  20. }
  21. // 返回信息
  22. type CustomerBelongInfo struct {
  23. CustId int ` json:"custId"` // 关联客户
  24. SaleName string ` json:"saleName"` // 归属销售
  25. OrigSaleName string ` json:"origSaleName"` // 原来归属
  26. OpnType string ` json:"opnType"` // 操作方式(10分配20转移)
  27. OpnPeople string ` json:"opnPeople"` // 操作人
  28. OpnDatetime *gtime.Time ` json:"opnDatetime"` // 操作时间
  29. Remark string ` json:"remark"` // 备注
  30. CreatedBy int ` json:"createdBy"` // 创建者
  31. CreatedName string ` json:"createdName"` // 创建人
  32. CreatedTime *gtime.Time ` json:"createdTime"` // 创建时间
  33. }
  34. //列表操作
  35. type ReqCustomerBelongReq struct {
  36. CustId int ` json:"custId"` // 关联客户
  37. request.PageReq
  38. }