1234567891011121314151617 |
- package bi_dashboard
- import (
- "time"
- )
- type BiDashboardGrant struct {
- GrantId int `gorm:"primaryKey;autoIncrement;column:grant_id"` // 授权id
- 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"
- }
|