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.
21 lines
799 B
Go
21 lines
799 B
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 TableNameFissionPointDeduct = "fission_point_deduct"
|
|
|
|
// FissionPointDeduct mapped from table <fission_point_deduct>
|
|
type FissionPointDeduct struct {
|
|
ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"`
|
|
CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"`
|
|
UserID int64 `gorm:"column:user_id;type:bigint;not null;uniqueIndex:uniq_user_id,priority:1" json:"user_id"`
|
|
Num int32 `gorm:"column:num;type:int;not null;comment:扣除数量" json:"num"`
|
|
}
|
|
|
|
// TableName FissionPointDeduct's table name
|
|
func (*FissionPointDeduct) TableName() string {
|
|
return TableNameFissionPointDeduct
|
|
}
|