report_grant.go 588 B

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