// ========================================================================== // 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" ) // BaseDistributorTarget is the golang structure for table base_distributor_target. type BaseDistributorTarget internal.BaseDistributorTarget // Fill with you ideas below. type BaseDistributorTargetListReq struct { request.PageReq DistId int `json:"distId"` // 所属经销商 Year int `json:"year"` // 年度 } type BaseDistributorTargetListRsp struct { BaseDistributorTarget BaseDistributorTargetStatistic } type BaseDistributorTargetAddReq struct { DistId int `json:"distId" v:"required#请输入所属经销商"` // 所属经销商 Year int `json:"year" v:"required#请输入年份"` // 年度 Q1 float64 `json:"q1"` // q1指标(万元) Q2 float64 `json:"q2"` // q2指标(万元) Q3 float64 `json:"q3"` // q3指标(万元) Q4 float64 `json:"q4"` // q4指标(万元) Remark string `json:"remark"` // 备注 } type BaseDistributorTargetUpdateReq struct { Id int `json:"id" v:"required#请输入Id"` Q1 *float64 `json:"q1"` // q1指标(万元) Q2 *float64 `json:"q2"` // q2指标(万元) Q3 *float64 `json:"q3"` // q3指标(万元) Q4 *float64 `json:"q4"` // q4指标(万元) Remark *string `json:"remark"` } type BaseDistributorTargetStatistic struct { Q1Amount float64 `json:"q1Amount"` Q2Amount float64 `json:"q2Amount"` Q3Amount float64 `json:"q3Amount"` Q4Amount float64 `json:"q4Amount"` TotalAmount float64 `json:"totalAmount"` }