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

30 lines
1.1 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 TableNameSysUserConfigChannel = "sys_user_config_channel"
// SysUserConfigChannel mapped from table <sys_user_config_channel>
type SysUserConfigChannel struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
SysUserID string `gorm:"column:sys_user_id;not null" json:"sys_user_id"`
Name string `gorm:"column:name;not null;comment:充值通道" json:"name"` // 充值通道
Num int32 `gorm:"column:num;comment:充值轮询ck个数" json:"num"` // 充值轮询ck个数
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 SysUserConfigChannel's table name
func (*SysUserConfigChannel) TableName() string {
return TableNameSysUserConfigChannel
}