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.3 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 TableNameLibraryQaGroup = "library_qa_group"
// LibraryQaGroup mapped from table <library_qa_group>
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
}