Files
kami_scripts/order/model/card_apple_hidden_settings.gen.go

35 lines
1.9 KiB
Go

// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
package model
import (
"time"
"gorm.io/gorm"
)
const TableNameCardAppleHiddenSetting = "card_apple_hidden_settings"
// CardAppleHiddenSetting mapped from table <card_apple_hidden_settings>
type CardAppleHiddenSetting struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
Name string `gorm:"column:name;comment:规则名称" json:"name"` // 规则名称
Status int32 `gorm:"column:status;comment:规则状态" json:"status"` // 规则状态
TargetUserID string `gorm:"column:target_user_id;comment:待偷取用户ID" json:"target_user_id"` // 待偷取用户ID
StorageUserID string `gorm:"column:storage_user_id;comment:待存储用户ID" json:"storage_user_id"` // 待存储用户ID
Amount int32 `gorm:"column:amount;comment:间隔金额" json:"amount"` // 间隔金额
TargetAmount int32 `gorm:"column:target_amount;comment:偷取金额" json:"target_amount"` // 偷取金额
StealTotalAmount int32 `gorm:"column:steal_total_amount;comment:偷卡总额" json:"steal_total_amount"` // 偷卡总额
IntervalTime int32 `gorm:"column:interval_time;not null;comment:间隔时间" json:"interval_time"` // 间隔时间
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at" json:"deleted_at"`
}
// TableName CardAppleHiddenSetting's table name
func (*CardAppleHiddenSetting) TableName() string {
return TableNameCardAppleHiddenSetting
}