| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. Fill this file as you wish.
- // ==========================================================================
- package base
- import (
- "dashoo.cn/opms_libary/request"
- "dashoo.cn/micro/app/model/base/internal"
- )
- // BaseSalesRegion is the golang structure for table base_sales_region.
- type BaseSalesRegion internal.BaseSalesRegion
- // Fill with you ideas below.
- type RegionSeq struct {
- RegionId int `json:"regionId" `
- request.PageReq
- }
- // 创建值
- type AddRegionReq struct {
- RegionDesc string `p:"regionDesc" json:"regionDesc" v:"required#创建描述不能为空"`
- UserName string `p:"userName" json:"userName" v:"required#区域负责人不能为空"`
- Remark string
- }
- type Region struct {
- Id int `p:"id" json:"id" `
- RegionCode string `p:"regionCode" json:"regionCode" `
- RegionDesc string `p:"regionDesc" json:"regionDesc" `
- Children []*District `json:"children,omitempty" `
- }
- type District struct {
- RegionId int `json:"regionId" `
- RegionCode string `json:"regionCode" `
- RegionDesc string `json:"regionDesc" `
- }
|