org.openurp.edu.lesson.model.LessonGroup.scala Maven / Gradle / Ivy
/*
* OpenURP, Agile University Resource Planning Solution
*
* Copyright (c) 2014-2017, OpenURP Software.
*
* OpenURP is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* OpenURP is distributed in the hope that it will be useful.
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with OpenURP. If not, see .
*/
package org.openurp.edu.lesson.model
import org.beangle.data.model.LongId
import org.beangle.data.model.pojo.Named
import org.openurp.base.model.{ Department, Semester }
import org.openurp.edu.base.ProjectBased
import org.openurp.edu.base.model.Course
/**
* 教学任务课程组
*
*/
class LessonGroup extends LongId with ProjectBased with Named {
/** 学期 */
var semester: Semester = _
/**开课部门*/
var teachDepart: Option[Department] = None
/**课程*/
var course: Option[Course] = None
/** 任务集合 */
var lessons: collection.mutable.Set[Lesson] = _
}