提供文件上传及静态服务
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.

15 lines
405 B

package model
import "service-api/global"
type UserNotice struct {
global.BASE_ID
UserID string `gorm:"size:50;index" json:"userId"` //用户id
NoticeID int `gorm:"size:10;index" json:"noticeId"` //通知项id
Status int `gorm:"size:1;index" json:"status"` //是否禁止通知 0-禁止 1-不限制
global.TIME_MODEL
}
func (UserNotice) TableName() string {
return "user_notice"
}