package orm

import "github.com/jinzhu/gorm"

type Activity struct {
	gorm.Model
	Name      string
	Class     Class
	Teacher   *Teacher
	Subject   Subject
	ClassID   uint `schema:"class_id"`
	TeacherID uint `schema:"teacher_id"`
	SubjectID uint `schema:"subject_id"`
	Hours     int

	prevTeacherID uint
}
