issue.go 251 B

12345678910111213141516
  1. package orm
  2. import "github.com/jinzhu/gorm"
  3. type Issue struct {
  4. gorm.Model
  5. Description string
  6. Type uint
  7. Reported bool
  8. TeacherID uint
  9. Teacher Teacher
  10. }
  11. func (i *Issue) newTeacherMaxHoursIssue(t *Teacher) *Issue {
  12. return nil
  13. }