// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package base import ( "dashoo.cn/micro/app/model/base/internal" "dashoo.cn/opms_libary/request" ) // BaseDistributorContact is the golang structure for table base_distributor_contact. type BaseDistributorContact internal.BaseDistributorContact // Fill with you ideas below. type BaseDistributorContactListReq struct { request.PageReq DistId int `json:"distId"` // 所属经销商 Name string `json:"name"` // 姓名 } type BaseDistributorContactAddReq struct { DistId int `json:"distId" v:"required#请输入所属经销商"` // 所属经销商 Name string `json:"name" v:"required#请输入联系人姓名"` // 姓名 Post string `json:"post"` // 岗位 Phone string `json:"phone"` // 电话 Wechat string `json:"wechat"` // 微信 Mail string `json:"mail"` // 邮箱 Honorific string `json:"honorific"` // 尊称 Territory string `json:"territory"` // 负责区域/业务线 Remark string `json:"remark"` // 备注 } type BaseDistributorContactUpdateReq struct { Id int `json:"id" v:"required#请输入Id"` Name string `json:"name"` // 姓名 Post string `json:"post"` // 岗位 Phone string `json:"phone"` // 电话 Wechat *string `json:"wechat"` // 微信 Mail *string `json:"mail"` // 邮箱 Honorific *string `json:"honorific"` // 尊称 Territory *string `json:"territory"` // 负责区域/业务线 Remark *string `json:"remark"` } type IdsReq struct { Id []int `json:"id"` }