// 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 TableNameLibraryQaGroup = "library_qa_group" // LibraryQaGroup mapped from table type LibraryQaGroup 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"` HashID string `gorm:"column:hash_id;type:varchar(20);not null;uniqueIndex:uniq_hash_id,priority:1;comment:对外hash_id" json:"hash_id"` ProjectID int64 `gorm:"column:project_id;type:bigint;not null;uniqueIndex:uniq_project_id_title_del_time,priority:1;comment:项目id(project表)" json:"project_id"` Title string `gorm:"column:title;type:varchar(255);not null;uniqueIndex:uniq_project_id_title_del_time,priority:2;comment:题库标题" json:"title"` DelTime int64 `gorm:"column:del_time;type:bigint;not null;uniqueIndex:uniq_project_id_title_del_time,priority:3;comment:删除时间" json:"del_time"` } // TableName LibraryQaGroup's table name func (*LibraryQaGroup) TableName() string { return TableNameLibraryQaGroup }