Package org.openurp.edu.clazz.model
Class Restriction
java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<Long>
org.beangle.commons.entity.pojo.LongIdObject
org.openurp.edu.clazz.model.Restriction
- All Implemented Interfaces:
Serializable,Cloneable,org.beangle.commons.entity.Entity<Long>
@Entity(name="org.openurp.edu.clazz.model.Restriction")
public class Restriction
extends org.beangle.commons.entity.pojo.LongIdObject
implements Cloneable
课程限制条件组
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class org.beangle.commons.entity.pojo.NumberIdObject
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getClazz()intgetItems()intbooleanisPrime()voidvoidsetCurCount(int curCount)voidsetItems(List<RestrictionItem> items)voidsetMaxCount(int maxCount)voidsetPrime(boolean prime)Methods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setId
-
Constructor Details
-
Restriction
public Restriction()
-
-
Method Details
-
getItems
-
setItems
-
getMaxCount
public int getMaxCount() -
setMaxCount
public void setMaxCount(int maxCount) -
getCurCount
public int getCurCount() -
setCurCount
public void setCurCount(int curCount) -
clone
-
getClazz
-
setClazz
-
isPrime
public boolean isPrime() -
setPrime
public void setPrime(boolean prime)
-