Package org.openurp.base.model
Class Room
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<T>
-
- org.openurp.base.model.NumberIdTimeObject<Integer>
-
- org.openurp.base.model.AbstractBaseInfo
-
- org.openurp.base.model.Room
-
- All Implemented Interfaces:
Serializable,Comparable<BaseInfo>,org.beangle.commons.entity.Entity<Integer>,BaseInfo
@Entity(name="org.openurp.base.model.Room") public class Room extends AbstractBaseInfo
教室基本信息- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.openurp.base.model.AbstractBaseInfo
beginOn, code, endOn, enName, name, remark, shortName
-
Fields inherited from class org.openurp.base.model.NumberIdTimeObject
updatedAt
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildinggetBuilding()CampusgetCampus()intgetCapacity()DepartmentgetDepartment()intgetFloor()RoomTypegetRoomType()SchoolgetSchool()voidsetBuilding(Building building)voidsetCampus(Campus campus)voidsetCapacity(int capacity)voidsetDepartment(Department department)voidsetFloor(int floor)voidsetRoomType(RoomType type)voidsetSchool(School school)-
Methods inherited from class org.openurp.base.model.AbstractBaseInfo
compareTo, getBeginOn, getCode, getEndOn, getEnName, getName, getRemark, getShortName, setBeginOn, setCode, setEndOn, setEnName, setName, setRemark, setShortName, toString
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openurp.base.model.BaseInfo
getUpdatedAt, setUpdatedAt
-
-
-
-
Method Detail
-
getSchool
public School getSchool()
-
setSchool
public void setSchool(School school)
-
getBuilding
public Building getBuilding()
-
setBuilding
public void setBuilding(Building building)
-
getFloor
public int getFloor()
-
setFloor
public void setFloor(int floor)
-
getCampus
public Campus getCampus()
-
setCampus
public void setCampus(Campus campus)
-
getCapacity
public int getCapacity()
-
setCapacity
public void setCapacity(int capacity)
-
getRoomType
public RoomType getRoomType()
-
setRoomType
public void setRoomType(RoomType type)
-
getDepartment
public Department getDepartment()
-
setDepartment
public void setDepartment(Department department)
-
-