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
-
-
Constructor Summary
Constructors Constructor Description Restriction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()ClazzgetClazz()intgetCurCount()List<RestrictionItem>getItems()intgetMaxCount()booleanisPrime()voidsetClazz(Clazz clazz)voidsetCurCount(int curCount)voidsetItems(List<RestrictionItem> items)voidsetMaxCount(int maxCount)voidsetPrime(boolean prime)
-
-
-
Method Detail
-
getItems
public List<RestrictionItem> getItems()
-
setItems
public void setItems(List<RestrictionItem> items)
-
getMaxCount
public int getMaxCount()
-
setMaxCount
public void setMaxCount(int maxCount)
-
getCurCount
public int getCurCount()
-
setCurCount
public void setCurCount(int curCount)
-
getClazz
public Clazz getClazz()
-
setClazz
public void setClazz(Clazz clazz)
-
isPrime
public boolean isPrime()
-
setPrime
public void setPrime(boolean prime)
-
-