// 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" "github.com/shopspring/decimal" "gorm.io/gorm" ) const TableNamePayRecharge = "pay_recharge" // PayRecharge 充值表 type PayRecharge struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CreatedAt time.Time `gorm:"column:created_at;not null;default:CURRENT_TIMESTAMP;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期 UpdatedAt time.Time `gorm:"column:updated_at;not null;default:CURRENT_TIMESTAMP;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期 Status int64 `gorm:"column:status;not null;default:1;comment:状态 1 正常 2 禁用" json:"status"` // 状态 1 正常 2 禁用 DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:Delete Time | 删除日期" json:"deleted_at"` // Delete Time | 删除日期 UserID string `gorm:"column:user_id;not null;default:1;comment:用户ID" json:"user_id"` // 用户ID Number decimal.Decimal `gorm:"column:number;not null;default:0.0000;comment:变化积分数" json:"number"` // 变化积分数 Money decimal.Decimal `gorm:"column:money;default:0.0000;comment:充值钱数" json:"money"` // 充值钱数 OutTradeNo string `gorm:"column:out_trade_no;comment:外部订单号" json:"out_trade_no"` // 外部订单号 OrganizationID int64 `gorm:"column:organization_id;not null;default:1;comment:机构 ID" json:"organization_id"` // 机构 ID } // TableName PayRecharge's table name func (*PayRecharge) TableName() string { return TableNamePayRecharge }