cust_customer.go 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. // CustCustomer is the golang structure for table cust_customer.
  9. type CustCustomer struct {
  10. Id int `orm:"id,primary" json:"id"` // 主键
  11. CustCode string `orm:"cust_code" json:"custCode"` // 客户编号
  12. CustName string `orm:"cust_name" json:"custName"` // 客户名称
  13. AbbrName string `orm:"abbr_name" json:"abbrName"` // 助记名
  14. CustDistCode int `orm:"cust_dist_code" json:"custDistCode"` // 客户所在省级ID
  15. CustLocation string `orm:"cust_location" json:"custLocation"` // 所在地区
  16. CustAddress string `orm:"cust_address" json:"custAddress"` // 详细地址
  17. CustProvinceId int `orm:"cust_province_id" json:"custProvinceId"` // 所在省ID
  18. CustProvince string `orm:"cust_province" json:"custProvince"` // 所在省
  19. CustCityId int `orm:"cust_city_id" json:"custCityId"` // 所在市ID
  20. CustCity string `orm:"cust_city" json:"custCity"` // 所在市
  21. CustRegionId int `orm:"cust_region_id" json:"custRegionId"` // 所在区县ID
  22. CustRegion string `orm:"cust_region" json:"custRegion"` // 所在区县
  23. CustIndustry string `orm:"cust_industry" json:"custIndustry"` // 客户行业
  24. CustLevel string `orm:"cust_level" json:"custLevel"` // 客户级别(10 重点客户 20 普通客户 30非优客户)
  25. CustStatus string `orm:"cust_status" json:"custStatus"` // 客户状态(10 待领取 20 领取审批 30 已领取)
  26. CustSource string `orm:"cust_source" json:"custSource"` // 客户来源
  27. IsPublic string `orm:"is_public" json:"isPublic"` // 公海客户(10是20否)
  28. DeptId int `orm:"dept_id" json:"deptId"` // 所属部门ID
  29. DeptName string `orm:"dept_name" json:"deptName"` // 所属部门
  30. SalesId int `orm:"sales_id" json:"salesId"` // 所属销售ID
  31. SalesName string `orm:"sales_name" json:"salesName"` // 所属销售
  32. FollowUpDate *gtime.Time `orm:"follow_up_date" json:"followUpDate"` // 最后跟进时间
  33. FollowUpMan string `orm:"follow_up_man" json:"followUpMan"` // 最后跟进人
  34. Remark string `orm:"remark" json:"remark"` // 备注
  35. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  36. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  37. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  38. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  39. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  40. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  41. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  42. }