2022-08-30 10:49:07 +00:00
|
|
|
package dto
|
|
|
|
|
2022-08-31 15:16:10 +00:00
|
|
|
type GroupOperate struct {
|
2022-12-13 10:54:28 +00:00
|
|
|
ID uint `json:"id"`
|
2022-08-30 10:49:07 +00:00
|
|
|
Name string `json:"name" validate:"required"`
|
|
|
|
Type string `json:"type" validate:"required"`
|
|
|
|
}
|
|
|
|
|
2022-08-31 15:16:10 +00:00
|
|
|
type GroupSearch struct {
|
|
|
|
Type string `json:"type" validate:"required"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type GroupInfo struct {
|
|
|
|
ID uint `json:"id"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Type string `json:"type"`
|
2022-08-30 10:49:07 +00:00
|
|
|
}
|