21 lines
467 B
Go
21 lines
467 B
Go
package dto
|
|
|
|
type ElementItem struct {
|
|
Id int64 `json:"id"`
|
|
EType int `json:"e_type"`
|
|
Name string `json:"name"`
|
|
Image string `json:"image"`
|
|
Audio string `json:"audio"`
|
|
Description string `json:"description"`
|
|
Status int `json:"status"`
|
|
SortOrder int `json:"sort_order"`
|
|
}
|
|
|
|
type ElementListReq struct {
|
|
Ids []int64 `v:"required" json:"ids"`
|
|
}
|
|
|
|
type ElementListRes struct {
|
|
List []ElementItem `json:"list"`
|
|
}
|