|
@@ -6,13 +6,12 @@ import (
|
|
|
|
|
|
type BiDashboardGrant struct {
|
|
type BiDashboardGrant struct {
|
|
GrantId int `gorm:"primaryKey;autoIncrement;column:grant_id"`
|
|
GrantId int `gorm:"primaryKey;autoIncrement;column:grant_id"`
|
|
- BiDashboardId int `gorm:"column:bi_dashboard_id" `
|
|
+ BiDashboardId int `gorm:"column:bi_dashboard_id" `
|
|
- AdminId int `gorm:"column:admin_id"`
|
|
+ GrantAdminId int `gorm:"column:grant_admin_id"`
|
|
- CreateTime time.Time `gorm:"column:create_time"`
|
|
+ CreateTime time.Time `gorm:"column:create_time"`
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *BiDashboardGrant) TableName() string {
|
|
func (m *BiDashboardGrant) TableName() string {
|
|
return "bi_dashboard_grant"
|
|
return "bi_dashboard_grant"
|
|
}
|
|
}
|
|
-
|
|
|