60 lines
2.0 KiB
Go
60 lines
2.0 KiB
Go
// Package tworecord
|
|
// @Link https://github.com/xiujiecn/xiu-admin
|
|
// @Copyright Copyright (c) 2026 LiXiujie
|
|
// @Author Lxj <xxx@example.com>
|
|
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
|
// @AutoGenerate Version
|
|
package v1 //tworecord
|
|
|
|
import (
|
|
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
|
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
)
|
|
|
|
// ListReq 查询工单记录表列表
|
|
type TWoRecordListReq struct {
|
|
g.Meta `path:"/tWoRecord/list" method:"get" tags:"工单记录表" summary:"获取工单记录表列表" x-check-permission:"cpm:gen:tWoRecord:list"`
|
|
model.TWoRecordListParam
|
|
}
|
|
|
|
type TWoRecordListRes struct {
|
|
response.PageResult
|
|
Items []*model.TWoRecordListModel `json:"items" dc:"数据列表"`
|
|
}
|
|
|
|
// ExportReq 导出工单记录表列表
|
|
type TWoRecordExportReq struct {
|
|
g.Meta `path:"/tWoRecord/export" method:"post" tags:"工单记录表" summary:"导出工单记录表列表" x-check-permission:"cpm:gen:tWoRecord:export"`
|
|
model.TWoRecordListParam
|
|
}
|
|
|
|
type TWoRecordExportRes struct{}
|
|
|
|
// ViewReq 获取工单记录表指定信息
|
|
type TWoRecordViewReq struct {
|
|
g.Meta `path:"/tWoRecord/view" method:"get" tags:"工单记录表" summary:"获取工单记录表指定信息" x-check-permission:"cpm:gen:tWoRecord:view"`
|
|
model.TWoRecordViewParam
|
|
}
|
|
|
|
type TWoRecordViewRes struct {
|
|
*model.TWoRecordViewModel
|
|
}
|
|
|
|
// EditReq 修改/新增工单记录表
|
|
type TWoRecordEditReq struct {
|
|
g.Meta `path:"/tWoRecord/edit" method:"post" tags:"工单记录表" summary:"修改/新增工单记录表" x-check-permission:"cpm:gen:tWoRecord:edit"`
|
|
model.TWoRecordEditParam
|
|
}
|
|
|
|
type TWoRecordEditRes struct{}
|
|
|
|
// DeleteReq 删除工单记录表
|
|
type TWoRecordDeleteReq struct {
|
|
g.Meta `path:"/tWoRecord/delete" method:"post" tags:"工单记录表" summary:"删除工单记录表" x-check-permission:"cpm:gen:tWoRecord:delete"`
|
|
model.TWoRecordDeleteParam
|
|
}
|
|
|
|
type TWoRecordDeleteRes struct{}
|