| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- // ==========================================================================
- // 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"
- )
- // BaseSalesRegionDetail is the golang structure for table base_sales_region_detail.
- type BaseSalesRegionDetail internal.BaseSalesRegionDetail
- // Fill with you ideas below.
- //条件搜索
- type SecBaseRegionDetailReq struct {
- RegionId int `p:"regionId" json:"regionId"`
- CustCode string `p:"custCode" json:"custCode"`
- CustName string `p:"custName" json:"custName"`
- CustIndustry string `p:"custIndustry" json:"custIndustry"`
- request.PageReq
- }
- //创建区域
- type AddBaseRegionDetailReq struct {
- RegionId int `p:"regionId" json:"regionId" v:"required#关联销售区域"`
- ProvinceCode int `p:"provinceCode" json:"provinceCode" v:"required#区域编码不能为空"`
- Remark string
- }
- //列表字段
- type BaseRegionDetailRep struct {
- Id int `p:"id" json:"id" `
- RegionId int `p:"regionId" json:"regionId" `
- ProvinceCode int `p:"provinceCode" json:"provinceCode" `
- CreatedName string `p:"createdName" json:"createdName" `
- Count int `p:"count" json:"count" `
- DistName string `p:"distName" json:"distName" `
- CreatedTime gtime.Time `p:"createdTime" json:"createdTime" `
- Remark string `p:"remark" json:"remark" `
- }
- //更新
- type UpdateBaseRegionDetailReq struct {
- *BaseSalesRegionDetail
- Id int `p:"id" json:"id" v:"required# id不能为空"`
- }
- type BaseRegionCustomer struct {
- CustDistCode string `p:"custDistCode" json:"custDistCode" `
- Count int `p:"count" json:"count" `
- }
- type DeleteBaseRegionDetailReq struct {
- Ids []int64 `json:"ids" v:"required# id不能为空"`
- }
- type BaseRegionCountNum struct {
- //cust_dist_code
- Count int `p:"count" json:"count" `
- }
|