Hub-Api/models/commands/role_commands.go

9 lines
154 B
Go

package models
type CreateRoleCommand struct {
Name string `validate:"required"`
}
type UpdateRoleCommand struct {
Name string `validate:"required"`
}