diff --git a/models/commands/role_commands.go b/models/commands/role_commands.go new file mode 100644 index 0000000..dfd8dcf --- /dev/null +++ b/models/commands/role_commands.go @@ -0,0 +1,11 @@ +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"` +} \ No newline at end of file