
org.openurp.edu.base.model.Project.scala Maven / Gradle / Ivy
/*
* 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.base.model
import scala.collection.mutable.Buffer
import scala.collection.mutable.ListBuffer
import org.beangle.commons.collection.Collections
import org.beangle.data.model.IntId
import org.beangle.data.model.LongId
import org.beangle.data.model.pojo.Coded
import org.beangle.data.model.pojo.Named
import org.beangle.data.model.pojo.TemporalOn
import org.beangle.data.model.pojo.Updated
import org.openurp.base.model.Campus
import org.openurp.base.model.Department
import org.openurp.base.model.School
import org.openurp.code.edu.model.EduCategory
import org.openurp.code.edu.model.EducationLevel
import org.openurp.edu.base.code.model.StdLabel
import org.openurp.edu.base.code.model.StdType
/**
* 项目
*
*/
class Project extends IntId with Coded with TemporalOn with Updated with Named {
/** 适用学校 */
var school: School = _
/** 校区列表 */
var campuses: Buffer[Campus] = new ListBuffer[Campus]
/** 部门列表 */
var departments: Buffer[Department] = new ListBuffer[Department]
/** 学历层次列表 */
var levels: Buffer[EducationLevel] = new ListBuffer[EducationLevel]
/** 学生分类列表 */
var stdLabels: Buffer[StdLabel] = new ListBuffer[StdLabel]
/**学生类别*/
var stdTypes: Buffer[StdType] = new ListBuffer[StdType]
/** 使用校历 */
var calendars = Collections.newBuffer[Calendar]
/** 描述 */
var description: String = _
/** 是否辅修 */
var minor: Boolean = _
/**教育类别*/
var category: EduCategory = _
/**项目属性*/
var properties = Collections.newMap[String, String]
}
/**
* 项目基础代码配置
* 表示项目使用了基础代码集合中的哪些基础代码
*
* @author chaostone
*/
class ProjectCode extends LongId {
/**项目*/
var project: Project = _
/**代码元*/
var className: String = _
/**代码IDs*/
var codeIds: String = _
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy