Class AbstractGradeState
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<Long>
-
- org.beangle.commons.entity.pojo.LongIdObject
-
- org.openurp.edu.grade.course.model.AbstractGradeState
-
- All Implemented Interfaces:
Serializable,org.beangle.commons.entity.Entity<Long>,GradeState
- Direct Known Subclasses:
CourseGradeState,ExamGradeState,GaGradeState
@MappedSuperclass public abstract class AbstractGradeState extends org.beangle.commons.entity.pojo.LongIdObject implements GradeState
成绩状态抽象基类- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected GradingModegradingMode成绩记录方式protected Stringoperator操作者protected intstatus成绩录入状态protected DateupdatedAt上次成绩录入时间
-
Constructor Summary
Constructors Constructor Description AbstractGradeState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GradingModegetGradingMode()记录方式StringgetOperator()返回操作者intgetStatus()返回状态DategetUpdatedAt()录入时间booleanisConfirmed()确认的和发布的全部算作确认过的booleanisPublished()是否发布voidsetGradingMode(GradingMode gradingMode)设置记录方式voidsetOperator(String operator)设置操作者voidsetStatus(int status)设置状态voidsetUpdatedAt(Date updatedAt)设置录入时间-
Methods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.beangle.commons.entity.Entity
getId, isPersisted, isTransient, setId
-
Methods inherited from interface org.openurp.edu.grade.course.model.GradeState
getGradeType
-
-
-
-
Field Detail
-
gradingMode
@NotNull protected GradingMode gradingMode
成绩记录方式
-
status
protected int status
成绩录入状态
-
updatedAt
protected Date updatedAt
上次成绩录入时间
-
operator
@Size(max=50) protected String operator
操作者
-
-
Method Detail
-
getStatus
public int getStatus()
Description copied from interface:GradeState返回状态- Specified by:
getStatusin interfaceGradeState- Returns:
-
setStatus
public void setStatus(int status)
Description copied from interface:GradeState设置状态- Specified by:
setStatusin interfaceGradeState
-
getUpdatedAt
public Date getUpdatedAt()
Description copied from interface:GradeState录入时间- Specified by:
getUpdatedAtin interfaceGradeState- Returns:
-
setUpdatedAt
public void setUpdatedAt(Date updatedAt)
Description copied from interface:GradeState设置录入时间- Specified by:
setUpdatedAtin interfaceGradeState
-
isConfirmed
public boolean isConfirmed()
确认的和发布的全部算作确认过的- Specified by:
isConfirmedin interfaceGradeState- Returns:
-
getGradingMode
public GradingMode getGradingMode()
Description copied from interface:GradeState记录方式- Specified by:
getGradingModein interfaceGradeState- Returns:
-
setGradingMode
public void setGradingMode(GradingMode gradingMode)
Description copied from interface:GradeState设置记录方式- Specified by:
setGradingModein interfaceGradeState
-
isPublished
public boolean isPublished()
Description copied from interface:GradeState是否发布- Specified by:
isPublishedin interfaceGradeState- Returns:
-
getOperator
public String getOperator()
Description copied from interface:GradeState返回操作者- Specified by:
getOperatorin interfaceGradeState- Returns:
-
setOperator
public void setOperator(String operator)
Description copied from interface:GradeState设置操作者- Specified by:
setOperatorin interfaceGradeState
-
-