// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package model import ( "lims_adapter/model" "lims_adapter/model/feedback/internal" "github.com/gogf/gf/os/gtime" ) // Feedback is the golang structure for table feedback. type Feedback internal.Feedback // Fill with you ideas below. type FeedbackListReq struct { Page *model.Page `json:"page"` Status int `json:"status"` // 反馈状态 1 未处理 2 已处理 CreatedByName string `json:"createdByName"` // 创建者用户名 CreatedAtStart *gtime.Time `json:"createdAtStart"` // 创建时间 CreatedAtEnd *gtime.Time `json:"createdAtEnd"` // 创建时间 } type FeedbackGetReq struct { Id int `json:"id"` // 反馈Id } type FeedbackGetRsp struct { Feedback Flow []*FeedbackFlow `json:"flow"` Result []*FeedbackResult `json:"result"` } type FeedbackAddReq struct { Type int `json:"type" v:"required#请输入反馈类型"` // 反馈类型 Content string `json:"content" v:"required#请输入反馈内容"` // 反馈内容 Mobile string `json:"mobile" v:"required#请输入联系方式"` // 联系方式 Email string `json:"email" v:"required#请输入电子邮箱"` // 邮箱 } type FeedbackTransReq struct { Id int `json:"id"` // 反馈Id UserId int `json:"userId" v:"required#请输入转交人"` // 转交人 Id Note string `json:"note" v:"required#请输入转交原因"` // 转交原因 } type FeedbackProcessReq struct { Id int `json:"id"` // 反馈Id Type int `json:"type" v:"required#请输入处理方式"` // 处理方式 Note string `json:"note" v:"required#请输入处理描述"` // 处理描述 } type FeedbackReactivateReq struct { Id int `json:"id"` // 反馈Id Note string `json:"note" v:"required#请输入重新激活描述"` // 重新激活描述 } type FeedbackProcessorRsp struct { Id int `json:"id"` Realname string `json:"name"` }