org.openurp.edu.grade.course.model.StdYearGpa 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.course.model;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.beangle.commons.entity.pojo.LongIdObject;
/**
* 学生学年绩点
*/
@Entity(name = "org.openurp.edu.grade.course.model.StdYearGpa")
public class StdYearGpa extends LongIdObject {
private static final long serialVersionUID = -4094049042864905494L;
/** 学生绩点 */
@NotNull
@ManyToOne(fetch = FetchType.LAZY)
private StdGpa stdGpa;
/** 学年度 */
@Size(max = 15)
private String schoolYear;
/** 平均绩点 */
private Float gpa;
/** 平均分 */
private Float ga;
/** 获得学分 */
private Float credits;
/** 修读学分 */
private Float totalCredits;
/** 总成绩数量 */
private int count;
public StdGpa getStdGpa() {
return stdGpa;
}
public void setStdGpa(StdGpa stdGpa) {
this.stdGpa = stdGpa;
}
public String getSchoolYear() {
return schoolYear;
}
public void setSchoolYear(String schoolYear) {
this.schoolYear = schoolYear;
}
public Float getGpa() {
return gpa;
}
public void setGpa(Float gpa) {
this.gpa = gpa;
}
public Float getGa() {
return ga;
}
public void setGa(Float ga) {
this.ga = ga;
}
public Float getCredits() {
return credits;
}
public void setCredits(Float credits) {
this.credits = credits;
}
public Float getTotalCredits() {
return totalCredits;
}
public void setTotalCredits(Float totalCredits) {
this.totalCredits = totalCredits;
}
public int getCount() {
return count;
}
public void setCount(int count) {
this.count = count;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy