report_grant.go 560 B

12345678910111213
  1. package models
  2. import (
  3. "time"
  4. )
  5. type ReportGrant struct {
  6. GrantId int64 `gorm:"column:grant_id"` //`orm:"column(grant_id);pk;auto" description:"自增序号"`
  7. ReportId int64 `gorm:"column:report_id"` //`description:"report ID"`
  8. DepartmentId int64 `gorm:"column:department_id"` //`description:"授权部门id"`
  9. GrantAdminId int64 `gorm:"column:grant_admin_id"` //`description:"授权部门id"`
  10. CreateTime time.Time `gorm:"column:create_time"` //`orm:"auto_now_add;type(datetime)" description:"创建时间"`
  11. }