@MappedSuperclass public abstract class AbstractPlanCourse extends org.beangle.commons.entity.pojo.LongIdObject implements PlanCourse, Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
compulsory
是否必修
|
protected Course |
course
课程
|
protected String |
remark
备注
|
protected org.openurp.base.time.Terms |
terms
开课学期
|
| Constructor and Description |
|---|
AbstractPlanCourse() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Course |
getCourse()
查询课程.
|
String |
getRemark()
备注
|
org.openurp.base.time.Terms |
getTerms()
开课学期,可以是数字,也可以是类似 春、秋的字样。
和
org.openurp.edu.base.model.Semester#getGroup() 呼应,用于生成开课计划
如果是多个值,必须用逗号分开,比如:
,1,
,1,2,
,春,
,春,秋, |
boolean |
isCompulsory()
课程是否必修.
|
void |
setCompulsory(boolean compulsory)
设置是否必修
|
void |
setCourse(Course course)
设置课程
|
void |
setRemark(String remark) |
void |
setTerms(org.openurp.base.time.Terms terms) |
equals, getId, hashCode, isPersisted, isTransient, setIdfinalize, getClass, notify, notifyAll, toString, wait, wait, waitgetGroup, setGroup@NotNull protected Course course
@NotNull protected org.openurp.base.time.Terms terms
protected boolean compulsory
@Size(max=500) protected String remark
public boolean isCompulsory()
PlanCourseisCompulsory in interface PlanCoursepublic void setCompulsory(boolean compulsory)
PlanCoursesetCompulsory in interface PlanCoursepublic Object clone() throws CloneNotSupportedException
clone in interface PlanCourseclone in class ObjectCloneNotSupportedExceptionpublic Course getCourse()
PlanCoursegetCourse in interface PlanCoursepublic void setCourse(Course course)
PlanCoursesetCourse in interface PlanCoursepublic String getRemark()
PlanCoursegetRemark in interface PlanCoursepublic void setRemark(String remark)
setRemark in interface PlanCoursepublic org.openurp.base.time.Terms getTerms()
PlanCourse
开课学期,可以是数字,也可以是类似 春、秋的字样。
和 org.openurp.edu.base.model.Semester#getGroup() 呼应,用于生成开课计划
如果是多个值,必须用逗号分开,比如:
,1,
,1,2,
,春,
,春,秋,
getTerms in interface PlanCoursepublic void setTerms(org.openurp.base.time.Terms terms)
setTerms in interface PlanCourseCopyright © 2014–2019 The OpenURP Software. All rights reserved.