|
@@ -9,7 +9,7 @@ import (
|
|
|
// ReportChapterGrant
|
|
|
// @Description: 报告章节授权用户表
|
|
|
type ReportChapterGrant struct {
|
|
|
- GrantId int `orm:"column(grant_id)"` // 授权id
|
|
|
+ GrantId int `orm:"column(grant_id)" gorm:"column:grant_id;primaryKey"` // 授权id
|
|
|
ReportChapterId int `description:"报告章节id"`
|
|
|
AdminId int `description:"授权的用户id"`
|
|
|
CreateTime time.Time `description:"授权时间"`
|