org.openurp.edu.clazz.model.Clazz.scala Maven / Gradle / Ivy
The newest version!
/*
* OpenURP, Agile University Resource Planning Solution.
*
* Copyright © 2014, The OpenURP Software.
*
* This program 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.
*
* This program 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 this program. If not, see .
*/
package org.openurp.edu.clazz.model
import org.beangle.commons.collection.Collections
import org.beangle.data.model.LongId
import org.beangle.data.model.pojo.{Named, Updated}
import org.openurp.base.model.{Campus, Department}
import org.openurp.code.edu.model.TeachLangType
import org.openurp.edu.base.code.model.CourseType
import org.openurp.edu.base.model.{Course, Semester, Teacher}
import org.openurp.edu.base.{ProjectBased, AuditStates}
import org.openurp.edu.clazz.code.model.ClazzTag
import scala.collection.mutable
/**
* 教学任务 每学期开课任务,以此为开始作为排课、排考、成绩录入的依据。代表着从对上课对象和开课院系的完整的教学实际任务信息.
* 1、教什么(课程名称、类别)、什么时候教(学年学期),谁来教(授课学院、零个或多个教师)
* 2、教学班信息——教谁(学生人数、上课对象(院系、学生类别)、选课对象)
* 3、安排情况(具体安排,开始周、结束周、总课时)
* 4、选课情况(选课上下限、实选人数、选课规则)
* 5、任务要求(教室要求、课程要求(教材、参考书、案例)、是否挂牌、是否双语)
* 6、创建时间、修改时间、备注
*/
class Clazz extends LongId with ProjectBased with Updated with Cloneable with Named {
/** 课程序号 */
var crn: String = _
/** 课程 */
var course: Course = _
/** 主题 */
var subject: Option[String] = None
/** 课程类别 */
var courseType: CourseType = _
/** 开课院系 */
var teachDepart: Department = _
/** 授课教师 */
var teachers: mutable.Buffer[Teacher] = Collections.newBuffer[Teacher]
/** 开课校区 */
var campus: Campus = _
/** 教学班 */
var enrollment: Enrollment = _
/** 教学日历 */
var semester: Semester = _
/** 课程安排 */
var schedule: Schedule = _
/** 考试安排 */
var exam: Exam = _
/** 备注 */
var remark: Option[String] = None
/** 授课语言类型 */
var langType: TeachLangType = _
/** 所属课程组 */
var group: Option[ClazzGroup] = None
/** 审核状态 */
var auditState: AuditStates.State = _
/**任务标签*/
var tags:mutable.Set[ClazzTag] = Collections.newSet[ClazzTag]
/** 教学材料 */
var material: Option[Material] = None
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy