From 8dabaaaec318e9d181ed0edaa3a3f474c2c04988 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 27 Nov 2024 10:17:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9F=AD=E4=BF=A1=20=E6=8E=A8=E9=80=81?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/user_notice_time.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/model/user_notice_time.go 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"` +}