package request type AddSaleStage struct { Name string `json:"name" binding:"required"` } type UpdateSaleStage struct { Id int `json:"id" binding:"required"` Name string `json:"name" binding:"required"` } type UpdateSaleStages struct { SaleStages []*UpdateSaleStage `json:"sale_stages" binding:"required"` }