From ad380ee4ada7ff6cecacd653bd942a1d9e22afd1 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 22 Oct 2024 10:27:11 +0800 Subject: [PATCH] 1 --- .idea/go.imports.xml | 10 ++++++++++ app/db/model/community_team_store_notice.go | 14 ++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .idea/go.imports.xml create mode 100644 app/db/model/community_team_store_notice.go diff --git a/.idea/go.imports.xml b/.idea/go.imports.xml new file mode 100644 index 0000000..7bbd3dd --- /dev/null +++ b/.idea/go.imports.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/app/db/model/community_team_store_notice.go b/app/db/model/community_team_store_notice.go new file mode 100644 index 0000000..2bbc9c4 --- /dev/null +++ b/app/db/model/community_team_store_notice.go @@ -0,0 +1,14 @@ +package model + +import ( + "time" +) + +type CommunityTeamStoreNotice struct { + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + Uid int `json:"uid" xorm:"default 0 INT(11)"` + CreateTime time.Time `json:"create_time" xorm:"DATETIME"` + UpdateTime time.Time `json:"update_time" xorm:"DATETIME"` + Title string `json:"title" xorm:"VARCHAR(255)"` + Content string `json:"content" xorm:"TEXT"` +}