@Entity(name="org.openurp.edu.base.model.Course") public class Course extends ProjectBasedObject<Long> implements Comparable<Course>
| Modifier and Type | Field and Description |
|---|---|
protected String |
code
课程代码
|
protected String |
enName
课程英文名
|
protected String |
name
课程名称
|
protected String |
remark
课程备注
|
updatedAtgetProject, setProjectgetUpdatedAt, setUpdatedAtequals, getId, hashCode, isPersisted, isTransient, setIdclone, finalize, getClass, notify, notifyAll, wait, wait, wait@NotNull @Size(max=32) protected String code
@NotNull @Size(max=255) protected String name
@Size(max=300) protected String enName
@Size(max=500) protected String remark
public Course()
public Course(Long id)
public Date getBeginOn()
public void setBeginOn(Date beginOn)
public Date getEndOn()
public void setEndOn(Date endOn)
public CourseCategory getCategory()
public void setCategory(CourseCategory category)
public String getCode()
public void setCode(String code)
public float getCredits()
public void setCredits(float credits)
public String getEnName()
public void setEnName(String enName)
public String getName()
public void setName(String name)
public String getRemark()
public void setRemark(String remark)
public int compareTo(Course other)
compareTo in interface Comparable<Course>public int getCreditHours()
public void setCreditHours(int creditHours)
public int getWeekHours()
public void setWeekHours(int weekHours)
public Integer getWeeks()
public void setWeeks(Integer weeks)
public Department getDepartment()
public void setDepartment(Department department)
public CourseType getCourseType()
public void setCourseType(CourseType courseType)
public ExamMode getExamMode()
public void setExamMode(ExamMode examMode)
public Set<CourseAbilityRate> getAbilityRates()
public void setAbilityRates(Set<CourseAbilityRate> abilityRates)
public String getCreditHourString()
public Integer getHour(CourseHourType type)
public List<CourseHour> getHours()
public void setHours(List<CourseHour> courseHours)
public Set<AcademicLevel> getLevels()
public void setLevels(Set<AcademicLevel> levels)
public Set<GradingMode> getGradingModes()
public void setGradingModes(Set<GradingMode> gradingModes)
public boolean isEnabled()
public boolean isHasMakeup()
public void setHasMakeup(boolean hasMakeup)
public void setEnabled(boolean e)
Copyright © 2005–2018 The OpenURP Software. All rights reserved.