diff --git a/src/model/user_notice_time.go b/src/model/user_notice_time.go new file mode 100644 index 0000000..292f4b6 --- /dev/null +++ b/src/model/user_notice_time.go @@ -0,0 +1,12 @@ +package model + +import ( + "time" +) + +type UserNoticeTime struct { + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + Uid int `json:"uid" xorm:"default 0 INT(11)"` + LoginNoticeTime time.Time `json:"login_notice_time" xorm:"DATETIME"` + SignNoticeTime time.Time `json:"sign_notice_time" xorm:"DATETIME"` +}