// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package base import ( "dashoo.cn/opms_libary/request" "github.com/gogf/gf/os/gtime" "dashoo.cn/micro/app/model/base/internal" ) // BaseDistributor is the golang structure for table base_distributor. type BaseDistributor internal.BaseDistributor // Fill with you ideas below. type BaseDistributorSearchReq struct { DistCode string `json:"distCode"` // 经销商code DistName string `json:"distName"` // 经销商名称 BelongSale string `json:"belongSale"` // 所属经销商 ProvinceId int `json:"provinceId"` // 省份ID request.PageReq } //列表返回字段 type DistributorRonp struct { Id int `orm:"id,primary" json:"id"` // 主健 DistCode string `orm:"dist_code" json:"distCode"` // 经销商编码 DistName string `orm:"dist_name" json:"distName"` // 经销商名字 AbbrName string `orm:"abbr_name" json:"abbrName"` // 助记名 DistBoss string `orm:"dist_boss" json:"distBoss"` // 负责人 DistBossPhone int `orm:"dist_boss_phone" json:"distBossPhone"` // 负责人电话 BelongSale string `orm:"belong_sale" json:"belongSale"` // 销售 ProvinceDesc string `orm:"province_desc" json:"provinceDesc"` // 省份描述 BusinessScope string `orm:"business_scope" json:"businessScope"` // 业务范围 CreatedName string `orm:"created_name" json:"createdName"` // 创建人名字 CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间 //District *BaseDistrict `orm:"with:id=province_id"` //*Contanct } type Contanct struct { Name string `json:"name"` // 销售名 }