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.

17 lines
589 B

package model
import "shop-api/global"
type UserAppeal struct {
global.MG_MODEL
UserID string `gorm:"size:50" json:"user_id"` // 用户id
Type int `gorm:"size:2;default:1" json:"type"` // 申诉类型
Respon string `gorm:"size:255" json:"respon"` // 申诉内容
Images string `gorm:"type:text" json:"images"` // 图片
Contact string `gorm:"size:255" json:"contact"` // 联系方式
Status int `gorm:"size:2;default:0" json:"status"` // 状态 0-未处理 1-已处理
}
func (UserAppeal) TableName() string {
return "user_appeal"
}