// 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 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 }