|
@@ -6,13 +6,12 @@ import (
|
|
|
|
|
|
type BiDashboardGrant struct {
|
|
|
GrantId int `gorm:"primaryKey;autoIncrement;column:grant_id"` // 授权id
|
|
|
- BiDashboardId int `gorm:"column:bi_dashboard_id" ` // 看板id
|
|
|
- AdminId int `gorm:"column:admin_id"` // 授权的用户id
|
|
|
- CreateTime time.Time `gorm:"column:create_time"` // 授权时间
|
|
|
+ BiDashboardId int `gorm:"column:bi_dashboard_id" ` // 看板id
|
|
|
+ GrantAdminId int `gorm:"column:grant_admin_id"` // 授权的用户id
|
|
|
+ CreateTime time.Time `gorm:"column:create_time"` // 授权时间
|
|
|
}
|
|
|
|
|
|
// tableName
|
|
|
func (m *BiDashboardGrant) TableName() string {
|
|
|
return "bi_dashboard_grant"
|
|
|
}
|
|
|
-
|