From db01b3ab3888b1cf27e636583043726a4b286935 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 9 Aug 2022 17:53:22 +0800 Subject: [PATCH] =?UTF-8?q?add=20reverse:for=20v1.6.7=20=E5=B0=8F=E5=85=AC?= =?UTF-8?q?=E6=8E=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../user_public_platoon_settlement_records.go | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/db/model/user_public_platoon_settlement_records.go b/db/model/user_public_platoon_settlement_records.go index 6695cd2..83cc239 100644 --- a/db/model/user_public_platoon_settlement_records.go +++ b/db/model/user_public_platoon_settlement_records.go @@ -5,16 +5,13 @@ import ( ) type UserPublicPlatoonSettlementRecords struct { - Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"` - Uid int `json:"uid" xorm:"not null comment('用户id') index INT(11)"` - CoinId int `json:"coin_id" xorm:"not null default 0 comment('虚拟币id(0为金额)') INT(11)"` - Amount string `json:"amount" xorm:"not null default '' comment('结算金额') VARCHAR(50)"` - Title string `json:"title" xorm:"comment('标题') VARCHAR(255)"` - Date string `json:"date" xorm:"not null default '' comment('结算日期(0000-00)') VARCHAR(50)"` - Kind int `json:"kind" xorm:"not null default 1 comment('结算种类(1:转入用户余额 2:清零)') TINYINT(1)"` - CreateAt time.Time `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"` - UpdateAt time.Time `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"` - Oid string `json:"oid" xorm:"comment('订单号') VARCHAR(100)"` - Type int `json:"type" xorm:"not null default 0 comment('0收入 1支出') INT(11)"` - BeforeAmount string `json:"before_amount" xorm:"comment('变更前金额') VARCHAR(100)"` + Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"` + Uid int `json:"uid" xorm:"not null comment('用户id') index INT(11)"` + CoinId int `json:"coin_id" xorm:"not null default 0 comment('虚拟币id(0为金额)') INT(11)"` + Amount string `json:"amount" xorm:"not null default '' comment('结算金额') VARCHAR(50)"` + Title string `json:"title" xorm:"comment('标题') VARCHAR(255)"` + Date string `json:"date" xorm:"not null default '' comment('结算日期(0000-00)') VARCHAR(50)"` + Kind int `json:"kind" xorm:"not null default 1 comment('结算种类(1:转入用户余额 2:清零)') TINYINT(1)"` + CreateAt time.Time `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"` + UpdateAt time.Time `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"` }