| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. Fill this file as you wish.
- // ==========================================================================
- package feedback
- 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"`
- Type string `json:"type"` // 反馈类型
- 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 string `json:"type" v:"required#请输入反馈类型"` // 反馈类型
- Content string `json:"content" v:"required#请输入反馈内容"` // 反馈内容
- Mobile string `json:"mobile" v:"required|phone#请输入联系方式|请输入正确的手机号"` // 联系方式
- Email string `json:"email" v:"required|email#请输入电子邮箱|请输入正确的电子邮箱"` // 邮箱
- }
- type FeedbackTransReq struct {
- Id int `json:"id" v:"required#请输入反馈 Id"` // 反馈Id
- UserId int `json:"userId" v:"required#请输入转交人"` // 转交人 Id
- Note string `json:"note" v:"required#请输入转交原因"` // 转交原因
- }
- type FeedbackProcessReq struct {
- Id int `json:"id" v:"required#请输入反馈 Id"` // 反馈Id
- Type string `json:"type" v:"required#请输入处理方式"` // 处理方式
- Note string `json:"note" v:"required#请输入处理描述"` // 处理描述
- }
- type FeedbackReactivateReq struct {
- Id int `json:"id" v:"required#请输入反馈 Id"` // 反馈Id
- Note string `json:"note" v:"required#请输入重新激活描述"` // 重新激活描述
- }
- type FeedbackProcessorRsp struct {
- Id int `json:"id"`
- Realname string `json:"name"`
- }
- type FeedbackDeleteReq struct {
- Id []int `json:"id" v:"required#请输入反馈Id"` // 反馈Id
- }
|