bi_dashboard_grant.go 529 B

1234567891011121314151617
  1. package bi_dashboard
  2. import (
  3. "time"
  4. )
  5. type BiDashboardGrant struct {
  6. GrantId int `gorm:"primaryKey;autoIncrement;column:grant_id"` // 授权id
  7. BiDashboardId int `gorm:"column:bi_dashboard_id" ` // 看板id
  8. GrantAdminId int `gorm:"column:grant_admin_id"` // 授权的用户id
  9. CreateTime time.Time `gorm:"column:create_time"` // 授权时间
  10. }
  11. // tableName
  12. func (m *BiDashboardGrant) TableName() string {
  13. return "bi_dashboard_grant"
  14. }