role commands model

master
nima 2024-06-17 18:57:01 +03:30
parent b329569a79
commit 1d5433142f
1 changed files with 11 additions and 0 deletions

View File

@ -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"`
}