mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
40 lines
3.3 KiB
Go
40 lines
3.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 TableNameCardAppleAccountInfo = "card_apple_account_info"
|
|
|
|
// CardAppleAccountInfo mapped from table <card_apple_account_info>
|
|
type CardAppleAccountInfo struct {
|
|
ID string `gorm:"column:id;primaryKey;comment:主键" json:"id"` // 主键
|
|
Account string `gorm:"column:account;comment:账户" json:"account"` // 账户
|
|
Password string `gorm:"column:password;comment:密码" json:"password"` // 密码
|
|
Balance float32 `gorm:"column:balance;not null;comment:余额" json:"balance"` // 余额
|
|
BalanceItunes float32 `gorm:"column:balance_itunes;not null;comment:itunes充值后余额" json:"balance_itunes"` // itunes充值后余额
|
|
Status int32 `gorm:"column:status;not null;default:1;comment:状态 0.停用 1.正常使用(待充值) 2.正在充值 3.已达到单日充值限制" json:"status"` // 状态 0.停用 1.正常使用(待充值) 2.正在充值 3.已达到单日充值限制
|
|
TodayRechargeAmount float32 `gorm:"column:today_recharge_amount;not null;comment:今日充值金额,临时字段,方便查询" json:"today_recharge_amount"` // 今日充值金额,临时字段,方便查询
|
|
TodayRechargeCount int32 `gorm:"column:today_recharge_count;not null;comment:今日充值笔数,临时字段,方便查询" json:"today_recharge_count"` // 今日充值笔数,临时字段,方便查询
|
|
TodayRechargeDatetime time.Time `gorm:"column:today_recharge_datetime;comment:今日日期,临时字段,方便查询" json:"today_recharge_datetime"` // 今日日期,临时字段,方便查询
|
|
CreatedUserID string `gorm:"column:created_user_id" json:"created_user_id"`
|
|
CreatedUserRole string `gorm:"column:created_user_role" json:"created_user_role"`
|
|
MaxAmountLimit int32 `gorm:"column:max_amount_limit;not null;comment:最大充值限制金额" json:"max_amount_limit"` // 最大充值限制金额
|
|
MaxCountLimit int32 `gorm:"column:max_count_limit;not null;comment:最大充值限制次数" json:"max_count_limit"` // 最大充值限制次数
|
|
Remark string `gorm:"column:remark;comment:备注" json:"remark"` // 备注
|
|
CreatedAt time.Time `gorm:"column:created_at;comment:创建日期" json:"created_at"` // 创建日期
|
|
UpdatedAt time.Time `gorm:"column:updated_at;comment:更新日期" json:"updated_at"` // 更新日期
|
|
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:删除日期" json:"deleted_at"` // 删除日期
|
|
}
|
|
|
|
// TableName CardAppleAccountInfo's table name
|
|
func (*CardAppleAccountInfo) TableName() string {
|
|
return TableNameCardAppleAccountInfo
|
|
}
|