You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.3 KiB
38 lines
1.3 KiB
package model
|
|
|
|
import "service-api/global"
|
|
|
|
type SysFeedback struct { //意见反馈
|
|
global.BASE_ID
|
|
Type string `gorm:"size:4" json:"type" form:"type"` //反馈类型 数据字典 fd_type SysDictData-value
|
|
Content string `gorm:"size:500" json:"content" form:"content"` //反馈内容
|
|
Images string `gorm:"size:500" json:"images"` //反馈图片 ["","",""]
|
|
Contact string `gorm:"size:50" json:"contact"` //联系方式 QQ/邮箱/手机号
|
|
CreateBy string `gorm:"size:64" json:"-"` //创建人
|
|
UpdateBy string `gorm:"size:64" json:"-"` //更新人
|
|
Status string `gorm:"size:4" json:"status"` //状态 0:已提交 1:已解决
|
|
TypeDesc string `gorm:"-" json:"typeDesc"` //
|
|
|
|
global.TIME_MODEL
|
|
}
|
|
|
|
type SysFeedback4List struct {
|
|
global.BASE_ID
|
|
Type string `json:"type"`
|
|
TypeDesc string `json:"typeDesc"`
|
|
Content string `json:"content"`
|
|
Status string `json:"status"`
|
|
StatusDesc string `json:"statusDesc"`
|
|
Contact string `json:"contact"`
|
|
CreateBy string `json:"-"`
|
|
global.TIME_MODEL
|
|
global.TIME_MODEL_VIEW
|
|
}
|
|
|
|
func (SysFeedback) TableName() string {
|
|
return "sys_feedback"
|
|
}
|
|
|
|
func (SysFeedback4List) TableName() string {
|
|
return "sys_feedback"
|
|
}
|
|
|