2023-07-14 16:47:59 +08:00
|
|
|
package dto
|
|
|
|
|
2023-11-21 13:13:35 +08:00
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
|
|
|
|
"joylink.club/bj-rtsts-server/ts/protos/graphicData"
|
|
|
|
)
|
2023-08-25 15:37:29 +08:00
|
|
|
|
2023-07-14 16:47:59 +08:00
|
|
|
type PageDraftingReqDto struct {
|
|
|
|
PageQueryDto
|
|
|
|
Name string `json:"name" form:"name"`
|
|
|
|
}
|
|
|
|
|
2023-10-12 17:55:41 +08:00
|
|
|
type ListDraftingReqDto struct {
|
|
|
|
Type int32 `json:"type" form:"type"`
|
|
|
|
}
|
|
|
|
|
2023-07-14 16:47:59 +08:00
|
|
|
type DraftingDto struct {
|
2023-08-25 15:37:29 +08:00
|
|
|
Id int `json:"id" form:"id"`
|
|
|
|
Name string `json:"name" form:"name"`
|
|
|
|
Category string `json:"category" form:"category"`
|
|
|
|
Type graphicData.PictureType `json:"type" form:"type"`
|
|
|
|
Proto []byte `json:"proto" from:"proto"`
|
2023-07-14 16:47:59 +08:00
|
|
|
}
|
2023-08-07 15:05:37 +08:00
|
|
|
|
|
|
|
type DraftingMapDataDto struct {
|
|
|
|
Proto []byte `json:"proto" from:"proto"`
|
|
|
|
}
|
2023-11-21 13:13:35 +08:00
|
|
|
|
|
|
|
type DraftingResDto struct {
|
|
|
|
ID int32 `json:"id"` // id
|
|
|
|
Name string `json:"name"` // 草稿图名称
|
|
|
|
Category string `json:"category"` // 厂家编码
|
|
|
|
Type int32 `json:"type"` // 数据类型
|
|
|
|
CreatorID int32 `json:"creator_id"` // 创建人id
|
|
|
|
Creator string `json:"creator"` // 创建人
|
|
|
|
CreatedAt time.Time `json:"created_at"` // 创建时间
|
|
|
|
UpdateAt time.Time `json:"update_at"` // 修改时间
|
|
|
|
}
|