You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.2 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
const TableNameProjectUserCoinExpired = "project_user_coin_expired"
// ProjectUserCoinExpired mapped from table <project_user_coin_expired>
type ProjectUserCoinExpired struct {
ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"`
CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"`
UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"`
UserID int64 `gorm:"column:user_id;type:bigint;not null;comment:用户id" json:"user_id"`
CoinID int64 `gorm:"column:coin_id;type:bigint;not null;comment:积分id" json:"coin_id"`
DoneAt int64 `gorm:"column:done_at;type:bigint;not null;index:idx_done_at_is_wait,priority:1;comment:执行时间" json:"done_at"`
IsWait int8 `gorm:"column:is_wait;type:tinyint;not null;index:idx_done_at_is_wait,priority:2;comment:是否待执行" json:"is_wait"`
}
// TableName ProjectUserCoinExpired's table name
func (*ProjectUserCoinExpired) TableName() string {
return TableNameProjectUserCoinExpired
}