package request // AddVarietyReq 添加品种请求 type AddVarietyReq struct { VarietyName string `description:"品种名称"` } // EditVarietyReq 编辑品种请求 type EditVarietyReq struct { ChartVarietyId int `description:"品种id"` VarietyName string `description:"品种名称"` } // DelVarietyReq 删除品种请求 type DelVarietyReq struct { ChartVarietyId int `description:"品种id"` }