From 1d5433142f9baa28328fa9813e97d5562bf77c15 Mon Sep 17 00:00:00 2001 From: nima Date: Mon, 17 Jun 2024 18:57:01 +0330 Subject: [PATCH] role commands model --- models/commands/role_commands.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 models/commands/role_commands.go 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