From f1ff6fcc49a54237e0c5104e9273f55ee412d06d Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 10 Dec 2024 18:10:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=AF=81=E4=B9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/user_certificate.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/model/user_certificate.go diff --git a/src/model/user_certificate.go b/src/model/user_certificate.go new file mode 100644 index 0000000..ed67cab --- /dev/null +++ b/src/model/user_certificate.go @@ -0,0 +1,10 @@ +package model + +type UserCertificate struct { + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + Uid int `json:"uid" xorm:"default 0 INT(11)"` + Name string `json:"name" xorm:"comment('名称') VARCHAR(255)"` + StartTime string `json:"start_time" xorm:"comment('有效开始时间') VARCHAR(255)"` + EndTime string `json:"end_time" xorm:"comment('有效结束时间') VARCHAR(255)"` + No string `json:"no" xorm:"comment('编号') VARCHAR(255)"` +}