
org.openurp.edu.base.Student.scala Maven / Gradle / Ivy
/*
* OpenURP, Agile University Resource Planning Solution
*
* Copyright (c) 2014-2015, OpenURP Software.
*
* OpenURP is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with OpenURP. If not, see .
*/
package org.openurp.edu.base
import org.openurp.base.model.Department
import org.openurp.code.edu.model.StudentStatus
import org.openurp.edu.base.code.model.Education
import org.openurp.edu.base.model.{ Adminclass, Direction, Major, Student }
/**
* 学籍注册信息
*/
trait StdEnrollment {
/** 年级 表示现在年级,不同于入学时间 */
def grade: String
/** 管理院系 行政管理院系 */
def department: Department
/** 专业 当前修读专业 */
def major: Major
/** 方向 当前修读方向 */
def direction: Direction
/** 行政班级 */
def adminclass: Adminclass
/** 是否在校 */
def inschool: Boolean
/** 学籍状态 */
def status: StudentStatus
}
/**
* 学籍信息
*
* 学籍信息记录了四部分内容: 基本内容 学号、姓名、英文名(拼音)、性别 培养内容 项目、年级、院系、专业、方向、班级、培养层次、学习形式、学生分类标签
* 培养时间 录取时间、入学时间、预计毕业时间、学制 学籍状态日志 各时段的是否在校、专业、方向以及学籍状态
*
* @depend - - - Gender
* @depend - - - Department
* @depend - - - Major
* @depend - - - Direction
* @depend - - - StdType
* @depend - - - StudyType
* @depend - - - EducationType
* @has 1..* has 1..* StdLabel
* @author chaostone
* @since 2005
*/
/**
* 学籍状态
*
* 学籍状态日志记录从起始时间到结束时间之间的学籍状态。主要记录学生的 年级 管理院系 专业 方向 行政班级
* 是否在校 学籍状态 [beginOn,endOn)
*
* @author chaostone
*/
/**
* 基于学生信息的实体
*
* @author Administrator
*/
trait StudentBased {
var std: Student = _
}
/**
* 基于培养层次的实体接口
*
* 基于项目和培养层次的实体接口,标准化了培养层次的属性名称。
*
* @see Adminclass
* @see Student
* @author chaostone
*/
trait EducationBased extends ProjectBased {
var education: Education = _
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy