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

45 lines
2.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 TableNameCardRedeemAccountInfo = "card_redeem_account_info"
// CardRedeemAccountInfo mapped from table <card_redeem_account_info>
type CardRedeemAccountInfo struct {
ID string `gorm:"column:id;primaryKey" json:"id"`
GroupID int32 `gorm:"column:group_id" json:"group_id"`
Name string `gorm:"column:name" json:"name"`
Cookie string `gorm:"column:cookie;comment:cookie" json:"cookie"` // cookie
Nickname string `gorm:"column:nickname;comment:用户昵称" json:"nickname"` // 用户昵称
Username string `gorm:"column:username;comment:京东用户ID" json:"username"` // 京东用户ID
CreateUserID string `gorm:"column:create_user_id;comment:创建人" json:"create_user_id"` // 创建人
Category string `gorm:"column:category;comment:账户类型" json:"category"` // 账户类型
AmountTotalSum float32 `gorm:"column:amount_total_sum;comment:账单所有统计金额" json:"amount_total_sum"` // 账单所有统计金额
AmountTodaySum float32 `gorm:"column:amount_today_sum;comment:账单今日统计金额" json:"amount_today_sum"` // 账单今日统计金额
Balance float32 `gorm:"column:balance;comment:余额" json:"balance"` // 余额
EffectiveBalance float32 `gorm:"column:effective_balance;comment:有效充值余额" json:"effective_balance"` // 有效充值余额
Status int32 `gorm:"column:status;comment:状态 1.正常 0.禁用" json:"status"` // 状态 1.正常 0.禁用
MaxCountLimit int32 `gorm:"column:max_count_limit;comment:账号最大充值次数" json:"max_count_limit"` // 账号最大充值次数
MaxAmountLimit int32 `gorm:"column:max_amount_limit;comment:最大充值限制" json:"max_amount_limit"` // 最大充值限制
AmountTotalCount int32 `gorm:"column:amount_total_count" json:"amount_total_count"`
AmountTodayCount int32 `gorm:"column:amount_today_count" json:"amount_today_count"`
AccountStatus []uint8 `gorm:"column:account_status;comment:账号是否可用" json:"account_status"` // 账号是否可用
Remark string `gorm:"column:remark" json:"remark"`
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 CardRedeemAccountInfo's table name
func (*CardRedeemAccountInfo) TableName() string {
return TableNameCardRedeemAccountInfo
}