mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
26 lines
1.1 KiB
Go
26 lines
1.1 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"
|
|
)
|
|
|
|
const TableNameLegendGroup = "legend_group"
|
|
|
|
// LegendGroup 分组列表
|
|
type LegendGroup struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键,自增" json:"id"` // 主键,自增
|
|
GroupName string `gorm:"column:group_name;not null;default:OK;comment:分组名称" json:"group_name"` // 分组名称
|
|
UID string `gorm:"column:uid;not null;comment:分组id" json:"uid"` // 分组id
|
|
UpdateTime time.Time `gorm:"column:update_time;not null;default:CURRENT_TIMESTAMP;comment:更新时间" json:"update_time"` // 更新时间
|
|
CreateTime time.Time `gorm:"column:create_time;comment:创建时间" json:"create_time"` // 创建时间
|
|
}
|
|
|
|
// TableName LegendGroup's table name
|
|
func (*LegendGroup) TableName() string {
|
|
return TableNameLegendGroup
|
|
}
|