From 3ee9fa9e2938c25f7b01a51a2b85ab8703b81468 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Mon, 5 Aug 2024 15:41:52 +0800 Subject: [PATCH] update --- src/models/service_award_dividend_basic.go | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/src/models/service_award_dividend_basic.go b/src/models/service_award_dividend_basic.go index f49b2e2..c96a4a3 100644 --- a/src/models/service_award_dividend_basic.go +++ b/src/models/service_award_dividend_basic.go @@ -1,15 +1,12 @@ package models type ServiceAwardDividendBasic struct { - Id int `json:"id" xorm:"not null pk autoincr INT(11)"` - IsOpen int `json:"is_open" xorm:"not null default 1 comment('是否开启(1:开启 2:关闭)') TINYINT(1)"` - GeneralVipIds string `json:"general_vip_ids" xorm:"not null comment('普通会员ids(json存储)') TEXT"` - GeneralVipAllocationSet string `json:"general_vip_allocation_set" xorm:"not null comment('普通会员设置') TEXT"` - SeniorVipIds string `json:"senior_vip_ids" xorm:"not null comment('高级会员ids(json存储)') TEXT"` - SeniorVipAllocationSet string `json:"senior_vip_allocation_set" xorm:"not null comment('高级会员设置') TEXT"` - AllocationPriority int `json:"allocation_priority" xorm:"not null default 1 comment('分配优先级(1:推荐人优先 2:高等级会员平均)') TINYINT(1)"` - IsRefreshAllocation int `json:"is_refresh_allocation" xorm:"not null default 1 comment('是否重新分配(1:是 2:否)') TINYINT(1)"` - RefreshAllocation string `json:"refresh_allocation" xorm:"not null default 'CURRENT_TIMESTAMP' comment('重新分配时间') DATETIME"` - CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"` - UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"` + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + IsOpen int `json:"is_open" xorm:"not null default 1 comment('是否开启(1:开启 2:关闭)') TINYINT(1)"` + VipAllocationSet string `json:"vip_allocation_set" xorm:"not null comment('会员分配设置') TEXT"` + AllocationPriority int `json:"allocation_priority" xorm:"not null default 1 comment('分配优先级(1:推荐人优先 2:高等级会员平均)') TINYINT(1)"` + IsRefreshAllocation int `json:"is_refresh_allocation" xorm:"not null default 1 comment('是否重新分配(1:是 2:否)') TINYINT(1)"` + RefreshAllocation string `json:"refresh_allocation" xorm:"not null default 'CURRENT_TIMESTAMP' comment('重新分配时间') DATETIME"` + CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"` + UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"` }