role commands model
parent
b329569a79
commit
1d5433142f
|
@ -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"`
|
||||||
|
}
|
Loading…
Reference in New Issue