feedbackDTO.go 992 B

12345678910111213141516
  1. package dto
  2. // FeedbackSubmitDTO 问题反馈/需求提交请求体
  3. type FeedbackSubmitDTO struct {
  4. Title string `json:"title"` // 标题(必填)
  5. Type string `json:"type"` // 类型: bug / feature
  6. Priority string `json:"priority"` // 优先级: urgent / high / medium / low / none
  7. Category string `json:"category"` // 分类: bug类-"bug","ui","performance","other" / feature类-"new","improvement","experience"
  8. Description string `json:"description"` // 详细描述
  9. Steps *string `json:"steps"` // 复现步骤(Bug 专用)
  10. Expected *string `json:"expected"` // 期望结果(Bug 专用)
  11. Actual *string `json:"actual"` // 实际结果(Bug 专用)
  12. Scenario *string `json:"scenario"` // 使用场景(Feature 专用)
  13. RelatedPage *string `json:"relatedPage"` // 相关页面
  14. AssetIds []string `json:"assetIds"` // 已上传附件的 Asset ID 列表(Plane V2 Asset)
  15. }