Browse Source

通知模板

master
huangjiajun 1 week ago
parent
commit
9e411a1a86
1 changed files with 6 additions and 10 deletions
  1. +6
    -10
      src/model/user_notice_time.go

+ 6
- 10
src/model/user_notice_time.go View File

@@ -1,14 +1,10 @@
package model package model


import (
"time"
)

type UserNoticeTime struct { 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"`
LoginTime time.Time `json:"login_time" xorm:"DATETIME"`
SignTime time.Time `json:"sign_time" xorm:"DATETIME"`
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
Uid int `json:"uid" xorm:"default 0 INT(11)"`
LoginNoticeTime int `json:"login_notice_time" xorm:"default 0 INT(11)"`
SignNoticeTime int `json:"sign_notice_time" xorm:"default 0 INT(11)"`
LoginTime int `json:"login_time" xorm:"default 0 INT(11)"`
SignTime int `json:"sign_time" xorm:"default 0 INT(11)"`
} }

Loading…
Cancel
Save