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
519 B

9 months ago
package model
import "pure-admin/global"
type Notify struct { // 通知
global.MG_MODEL
UserId string `gorm:"size:64" json:"userId"` // 用户id
RelationType string `gorm:"size:1" json:"relation_type"` // 关联类型 1-提现
RelationId string `gorm:"size:64" json:"relation_id"` // 关联id
Title string `gorm:"size:255" json:"title"` // 通知标题
Content string `gorm:"size:255" json:"content"` // 通知内容
}
func (Notify) TableName() string {
return "notify"
}