package visual import ( "github.com/gogf/gf/v2/frame/g" ) // 新增形象进度 type CreateVisualProgressReq struct { g.Meta `path:"/visual/create" method:"post" tags:"APP(形象进度相关)" summary:"新增形象进度"` ProjectID int64 `json:"projectId" v:"required" dc:"项目ID"` ReporterID int64 `json:"reporterId" v:"required" dc:"上报人ID"` ReportTime string `json:"reportTime" v:"required" dc:"上报时间"` Title string `json:"title" v:"required" dc:"形象标题"` ProgressDesc string `json:"progressDesc" v:"required" dc:"进度描述"` AttachmentURL string `json:"attachmentUrl" dc:"附件URL"` } // 根据项目ID查询形象进度列表 type ReadVisualProgressReq struct { g.Meta `path:"/visual/list" method:"get" tags:"APP(形象进度相关)" summary:"查询指定项目的形象进度列表"` ProjectID int64 `json:"projectId" v:"required" dc:"项目ID"` Page int64 `json:"page" dc:"请求的页码" v:"required"` PageSize int64 `json:"pageSize" dc:"每页显示的条目数" v:"required"` Title string `json:"title" dc:"模糊搜索字段"` } // 更新形象进度 type UpdateVisualProgressReq struct { g.Meta `path:"/visual/update" method:"post" tags:"APP(形象进度相关)" summary:"更新项目进度"` ID int64 `json:"id" v:"required" dc:"记录ID"` ProjectID int64 `json:"projectId" dc:"项目ID"` ReporterID int64 `json:"reporterId" dc:"上报人ID"` Title string `json:"title" dc:"形象标题"` ProgressDesc string `json:"progressDesc" dc:"进度描述"` AttachmentURL string `json:"attachmentUrl" dc:"附件URL"` } // 删除形象进度 type DeleteVisualProgressReq struct { g.Meta `path:"/visual/delete" method:"delete" tags:"APP(形象进度相关)" summary:"删除项目进度"` ID int64 `json:"id" v:"required" dc:"形象进度ID"` } // 根据ID查询形象进度详情 type GetVisualProgressDetailReq struct { g.Meta `path:"/visual/detail" method:"get" tags:"APP(形象进度相关)" summary:"根据形象进度ID查询详情"` ID int64 `json:"id" v:"required" dc:"形象进度ID"` }