org.openurp.edu.grade.model.GradeState.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.grade.model
import org.beangle.data.model.LongId
import org.beangle.data.model.pojo.{TemporalOn, Updated}
import org.openurp.code.edu.model.{GradeType, GradingMode}
/**
* 成绩状态表
*
*
* 记录了对应教学任务成绩
* 1)记录方式
* 2)各种成绩成分的百分比
* 3)各种成绩的确认状态
* 4)各种成绩的发布状态
*
*
* @author 塞外狂人,chaostone
*/
trait GradeState extends LongId with TemporalOn with Updated {
/**
* 成绩类型
*/
def gradeType: GradeType
/**
* 记录方式
*/
def gradingMode: GradingMode
/**
* 记录方式
*/
def gradingMode_=(style: GradingMode): Unit
/**
* 是否提交确认
*/
def confirmed: Boolean
/**
* 是否发布
*/
def published: Boolean
/**
* 返回状态
*/
def status: Int
/**
* 设置新状态
*/
def status_=(newStatus: Int): Unit
/**
* 返回操作者
*/
def operator: String
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy