From fed880ca12ce29350c8ba54d567eea954291271d Mon Sep 17 00:00:00 2001 From: dengbiao Date: Fri, 26 Jul 2024 17:33:38 +0800 Subject: [PATCH] update --- .../guide_order_for_numerical_statement_log.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/models/guide_order_for_numerical_statement_log.go diff --git a/src/models/guide_order_for_numerical_statement_log.go b/src/models/guide_order_for_numerical_statement_log.go new file mode 100644 index 0000000..a62c0da --- /dev/null +++ b/src/models/guide_order_for_numerical_statement_log.go @@ -0,0 +1,12 @@ +package models + +type GuideOrderForNumericalStatementLog struct { + Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"` + MasterId string `json:"master_id" xorm:"not null default '0' comment('站长id') CHAR(20)"` + Data string `json:"data" xorm:"not null comment('sql内容') TEXT"` + UpdateFieldName string `json:"update_field_name" xorm:"not null default '' comment('变更字段名') CHAR(50)"` + OldValue string `json:"old_value" xorm:"not null default '' comment('旧值') VARCHAR(50)"` + NowValue string `json:"now_value" xorm:"not null default '' comment('新值') VARCHAR(50)"` + Kind int `json:"kind" xorm:"not null default 1 comment('操作(1:新增 2:更新)') TINYINT(1)"` + CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"` +}