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

31 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
import (
"time"
"gorm.io/gorm"
)
const TableNameCardRedeemAccountGroup = "card_redeem_account_group"
// CardRedeemAccountGroup mapped from table <card_redeem_account_group>
type CardRedeemAccountGroup struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
Name string `gorm:"column:name;comment:分组名称" json:"name"` // 分组名称
Notes string `gorm:"column:notes;comment:备注" json:"notes"` // 备注
Category string `gorm:"column:category;comment:分组类别" json:"category"` // 分组类别
CreatedUserID string `gorm:"column:created_user_id" json:"created_user_id"`
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at" json:"deleted_at"`
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
}
// TableName CardRedeemAccountGroup's table name
func (*CardRedeemAccountGroup) TableName() string {
return TableNameCardRedeemAccountGroup
}