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.4 KiB
Go

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// 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 TableNameFissionUserLevelRelated = "fission_user_level_related"
// FissionUserLevelRelated mapped from table <fission_user_level_related>
type FissionUserLevelRelated struct {
ID int64 `gorm:"column:id;type:bigint;primaryKey;autoIncrement:true" 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"`
LevelID int64 `gorm:"column:level_id;type:bigint;not null;uniqueIndex:uniq_level_id_relate_id_relate_table,priority:1;comment:用户等级id(fission_user_level表)" json:"level_id"`
RelateID int64 `gorm:"column:relate_id;type:bigint;not null;uniqueIndex:uniq_level_id_relate_id_relate_table,priority:2;comment:关联id" json:"relate_id"`
RelateTable string `gorm:"column:relate_table;type:varchar(64);not null;uniqueIndex:uniq_level_id_relate_id_relate_table,priority:3;comment:关联表名" json:"relate_table"`
CancelTime int64 `gorm:"column:cancel_time;type:bigint;not null;uniqueIndex:uniq_level_id_relate_id_relate_table,priority:4;comment:取消关联时间" json:"cancel_time"`
}
// TableName FissionUserLevelRelated's table name
func (*FissionUserLevelRelated) TableName() string {
return TableNameFissionUserLevelRelated
}