|
@@ -9,7 +9,7 @@ import (
|
|
|
|
|
|
// ReportChapter 报告章节
|
|
|
type ReportChapter struct {
|
|
|
- ReportChapterId int `gorm:"column:report_chapter_id;primaryKey;autoIncrement:false;not null" description:"报告章节ID"`
|
|
|
+ ReportChapterId int `gorm:"column:report_chapter_id;primaryKey;autoIncrement:true;not null" description:"报告章节ID"`
|
|
|
ReportId int `gorm:"column:report_id" description:"报告ID"`
|
|
|
ReportType string `gorm:"column:report_type" description:"报告类型 day-晨报 week-周报"`
|
|
|
ClassifyIdFirst int `gorm:"column:classify_id_first" description:"一级分类id"`
|
|
@@ -47,7 +47,7 @@ type ReportChapter struct {
|
|
|
|
|
|
// ReportChapterItem 报告章节详情
|
|
|
type ReportChapterItem struct {
|
|
|
- ReportChapterId int `gorm:"column:report_chapter_id;primaryKey;autoIncrement:false;not null" description:"报告章节ID"`
|
|
|
+ ReportChapterId int `gorm:"column:report_chapter_id;primaryKey;autoIncrement:true;not null" description:"报告章节ID"`
|
|
|
ReportId int `gorm:"column:report_id" description:"报告ID"`
|
|
|
ReportType string `gorm:"column:report_type" description:"报告类型 day-晨报 week-周报"`
|
|
|
ClassifyIdFirst int `gorm:"column:classify_id_first" description:"一级分类id"`
|