cust_customer_belong.go 1.8 KB

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