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 TableNameFissionUserLevel = "fission_user_level"
// FissionUserLevel mapped from table <fission_user_level>
type FissionUserLevel 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"`
DeletedAt int64 `gorm:"column:deleted_at;type:bigint;not null;uniqueIndex:uniq_mark_deleted_at_project_id,priority:2" json:"deleted_at"`
ProjectID int64 `gorm:"column:project_id;type:bigint;not null;uniqueIndex:uniq_mark_deleted_at_project_id,priority:3;index:idx_project_id,priority:1;comment:项目id" json:"project_id"`
Mark string `gorm:"column:mark;type:varchar(20);not null;uniqueIndex:uniq_mark_deleted_at_project_id,priority:1;comment:用户等级标识" json:"mark"`
Title string `gorm:"column:title;type:varchar(64);not null;comment:用户等级" json:"title"`
}
// TableName FissionUserLevel's table name
func (*FissionUserLevel) TableName() string {
return TableNameFissionUserLevel
}