package request type AddIsInvoice struct { Name string ` json:"name" binding:"required"` } type UpdateIsInvoice struct { Id int `json:"id" binding:"required"` Name string `json:"name" binding:"required"` } type UpdateIsInvoices struct { IsInvoices []*UpdateIsInvoice `json:"is_invoice" binding:"required"` }