MSP-5186 Implement AppGroup CRUD endpoints
This commit is contained in:
1 parent
59f3dc0d2f
commit
cb50a60156
10 files changed
+651
-27
No files matched your search
@@ -0,0 +1,26 @@
|
||||
package domain
|
||||
|
||||
import "time"
|
||||
|
||||
type AppGroup struct {
|
||||
Id int
|
||||
Name string
|
||||
Description string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
type CreateAppGroupRequest struct {
|
||||
Name string `validate:"required"`
|
||||
Description string
|
||||
}
|
||||
|
||||
type UpdateAppGroupRequest struct {
|
||||
Id int `validate:"required"`
|
||||
Name string `validate:"required"`
|
||||
Description string
|
||||
}
|
||||
|
||||
type IdListRequest struct {
|
||||
IdList []int `validate:"required,min=1"`
|
||||
}
|
||||
Reference in new issue
Block a user