Package org.openurp.edu.base.model
Class Project
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<T>
-
- org.openurp.base.model.NumberIdTimeObject<Integer>
-
- org.openurp.edu.base.model.Project
-
- All Implemented Interfaces:
Serializable,org.beangle.commons.entity.Entity<Integer>,org.beangle.commons.entity.TimeEntity,TemporalEntity
@Entity(name="org.openurp.edu.base.model.Project") public class Project extends NumberIdTimeObject<Integer> implements org.beangle.commons.entity.TimeEntity, TemporalEntity
项目- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DatebeginOn生效时间protected DateendOn失效时间static org.beangle.commons.lang.functor.Predicate<Department>TEACHING-
Fields inherited from class org.openurp.base.model.NumberIdTimeObject
updatedAt
-
-
Method Summary
-
Methods inherited from class org.openurp.base.model.NumberIdTimeObject
getUpdatedAt, setUpdatedAt
-
Methods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setId
-
-
-
-
Field Detail
-
TEACHING
public static final org.beangle.commons.lang.functor.Predicate<Department> TEACHING
-
beginOn
@NotNull protected Date beginOn
生效时间
-
endOn
protected Date endOn
失效时间
-
-
Constructor Detail
-
Project
public Project()
-
Project
public Project(Integer id)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDepartments
public List<Department> getDepartments()
-
setDepartments
public void setDepartments(List<Department> departments)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isMinor
public boolean isMinor()
-
setMinor
public void setMinor(boolean minor)
-
getBeginOn
public Date getBeginOn()
- Specified by:
getBeginOnin interfaceTemporalEntity
-
setBeginOn
public void setBeginOn(Date beginOn)
- Specified by:
setBeginOnin interfaceTemporalEntity
-
getEndOn
public Date getEndOn()
- Specified by:
getEndOnin interfaceTemporalEntity
-
setEndOn
public void setEndOn(Date endOn)
- Specified by:
setEndOnin interfaceTemporalEntity
-
getSchool
public School getSchool()
-
setSchool
public void setSchool(School school)
-
getTimeSettings
public List<TimeSetting> getTimeSettings()
-
setTimeSettings
public void setTimeSettings(List<TimeSetting> timeSettings)
-
getTeachingDeparts
public List<Department> getTeachingDeparts()
-
getColleges
public List<Department> getColleges()
-
getCode
public String getCode()
-
setCode
public void setCode(String code)
-
-