variety.go 413 B

1234567891011121314151617
  1. package request
  2. // AddVarietyReq 添加品种请求
  3. type AddVarietyReq struct {
  4. VarietyName string `description:"品种名称"`
  5. }
  6. // EditVarietyReq 编辑品种请求
  7. type EditVarietyReq struct {
  8. ChartVarietyId int `description:"品种id"`
  9. VarietyName string `description:"品种名称"`
  10. }
  11. // DelVarietyReq 删除品种请求
  12. type DelVarietyReq struct {
  13. ChartVarietyId int `description:"品种id"`
  14. }