Hub-Api/models/commands/role_commands.go

11 lines
252 B
Go
Raw Normal View History

2024-06-17 18:57:01 +03:30
package models
type CreateRoleCommand struct {
Name string `validate:"required"`
Modified_by string `validate:"required"`
}
type UpdateRoleCommand struct {
Name string `validate:"required"`
Modified_by string `validate:"required"`
}