natsio/model/supplier_role_request.go

15 lines
272 B
Go
Raw Normal View History

2022-10-28 02:31:39 +00:00
package model
type CreateRoleRequest struct {
Name string `json:"name"`
Code string `json:"code"`
Type string `json:"type"`
}
type UpdateRoleRequest struct {
ID string `json:"_id"`
Name string `json:"name"`
Code string `json:"code"`
Type string `json:"type"`
}