Package org.openurp.edu.textbook.model
Class Material
java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<Long>
org.beangle.commons.entity.pojo.LongIdObject
org.openurp.edu.textbook.model.Material
- All Implemented Interfaces:
Serializable,org.beangle.commons.entity.Entity<Long>
@Entity(name="org.openurp.edu.textbook.model.Material")
public class Material
extends org.beangle.commons.entity.pojo.LongIdObject
教学资料
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMaterial.BookAdoption任务教材指定状态 -
Field Summary
Fields inherited from class org.beangle.commons.entity.pojo.NumberIdObject
id -
Constructor Summary
Constructors Constructor Description Material() -
Method Summary
Modifier and Type Method Description booleanaddBook(Textbook book)booleanaddBooks(Collection<Textbook> textbooks)Material.BookAdoptiongetAdoption()List<Textbook>getBooks()ClazzgetClazz()StringgetMaterials()BooleangetPassed()StringgetRemark()DategetSubmitAt()booleanisOrdered()booleanremoveBook(Textbook book)booleanremoveBooks(Collection<Textbook> textbooks)voidsetAdoption(Material.BookAdoption adoption)voidsetBooks(List<Textbook> books)voidsetClazz(Clazz clazz)voidsetMaterials(String materials)voidsetOrdered(boolean ordered)voidsetPassed(Boolean passed)voidsetRemark(String remark)voidsetSubmitAt(Date submitAt)Methods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setId
-
Constructor Details
-
Material
public Material()
-
-
Method Details
-
getClazz
-
setClazz
-
getBooks
-
addBook
-
addBooks
-
removeBook
-
removeBooks
-
setBooks
-
getPassed
-
setPassed
-
getRemark
-
setRemark
-
getMaterials
-
setMaterials
-
getSubmitAt
-
setSubmitAt
-
isOrdered
public boolean isOrdered() -
setOrdered
public void setOrdered(boolean ordered) -
getAdoption
-
setAdoption
-