6
0

feedback.go 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package model
  5. import (
  6. "lims_adapter/model"
  7. "lims_adapter/model/feedback/internal"
  8. "github.com/gogf/gf/os/gtime"
  9. )
  10. // Feedback is the golang structure for table feedback.
  11. type Feedback internal.Feedback
  12. // Fill with you ideas below.
  13. type FeedbackListReq struct {
  14. Page *model.Page `json:"page"`
  15. Status int `json:"status"` // 反馈状态 1 未处理 2 已处理
  16. CreatedByName string `json:"createdByName"` // 创建者用户名
  17. CreatedAtStart *gtime.Time `json:"createdAtStart"` // 创建时间
  18. CreatedAtEnd *gtime.Time `json:"createdAtEnd"` // 创建时间
  19. }
  20. type FeedbackGetReq struct {
  21. Id int `json:"id"` // 反馈Id
  22. }
  23. type FeedbackGetRsp struct {
  24. Feedback
  25. Flow []*FeedbackFlow `json:"flow"`
  26. Result []*FeedbackResult `json:"result"`
  27. }
  28. type FeedbackAddReq struct {
  29. Type int `json:"type" v:"required#请输入反馈类型"` // 反馈类型
  30. Content string `json:"content" v:"required#请输入反馈内容"` // 反馈内容
  31. Mobile string `json:"mobile" v:"required#请输入联系方式"` // 联系方式
  32. Email string `json:"email" v:"required#请输入电子邮箱"` // 邮箱
  33. }
  34. type FeedbackTransReq struct {
  35. Id int `json:"id"` // 反馈Id
  36. UserId int `json:"userId" v:"required#请输入转交人"` // 转交人 Id
  37. Note string `json:"note" v:"required#请输入转交原因"` // 转交原因
  38. }
  39. type FeedbackProcessReq struct {
  40. Id int `json:"id"` // 反馈Id
  41. Type int `json:"type" v:"required#请输入处理方式"` // 处理方式
  42. Note string `json:"note" v:"required#请输入处理描述"` // 处理描述
  43. }
  44. type FeedbackReactivateReq struct {
  45. Id int `json:"id"` // 反馈Id
  46. Note string `json:"note" v:"required#请输入重新激活描述"` // 重新激活描述
  47. }
  48. type FeedbackProcessorRsp struct {
  49. Id int `json:"id"`
  50. Realname string `json:"name"`
  51. }