mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
38 lines
2.3 KiB
Go
38 lines
2.3 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 TableNameMerchantHiddenConfig = "merchant_hidden_config"
|
|
|
|
// MerchantHiddenConfig mapped from table <merchant_hidden_config>
|
|
type MerchantHiddenConfig struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
Name string `gorm:"column:name" json:"name"`
|
|
MerchantUID string `gorm:"column:merchant_uid;not null;comment:商户Id" json:"merchant_uid"` // 商户Id
|
|
RoadUID string `gorm:"column:road_uid;not null;comment:商户通道" json:"road_uid"` // 商户通道
|
|
Amount int32 `gorm:"column:amount;comment:金额" json:"amount"` // 金额
|
|
FaceAmount int32 `gorm:"column:face_amount;comment:面额" json:"face_amount"` // 面额
|
|
DelayDurationMin int32 `gorm:"column:delay_duration_min;comment:延迟时间(最小)" json:"delay_duration_min"` // 延迟时间(最小)
|
|
DelayDurationMax int32 `gorm:"column:delay_duration_max;comment:延迟时间(最大)" json:"delay_duration_max"` // 延迟时间(最大)
|
|
Enable int32 `gorm:"column:enable;comment:是否启用" json:"enable"` // 是否启用
|
|
Strategy int32 `gorm:"column:strategy;comment:策略 1空白 2.错误 3.随机" json:"strategy"` // 策略 1空白 2.错误 3.随机
|
|
AmountRule string `gorm:"column:amount_rule;comment:偷卡规则" json:"amount_rule"` // 偷卡规则
|
|
ExtraReturnInfo string `gorm:"column:extra_return_info;comment:绑卡返回额外信息" json:"extra_return_info"` // 绑卡返回额外信息
|
|
CreatedAt time.Time `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"` // 创建时间
|
|
UpdatedAt time.Time `gorm:"column:updated_at;not null;comment:更新时间" json:"updated_at"` // 更新时间
|
|
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at" json:"deleted_at"`
|
|
}
|
|
|
|
// TableName MerchantHiddenConfig's table name
|
|
func (*MerchantHiddenConfig) TableName() string {
|
|
return TableNameMerchantHiddenConfig
|
|
}
|