Class Occupancy

  • All Implemented Interfaces:
    Serializable, org.beangle.commons.entity.Entity<Long>

    @Entity(name="org.openurp.edu.room.model.Occupancy")
    public class Occupancy
    extends org.beangle.commons.entity.pojo.LongIdObject
    教室时间占用
    See Also:
    Serialized Form
    • Field Detail

      • activityType

        @NotNull
        protected ActivityType activityType
        用途
      • app

        @NotNull
        protected App app
        使用者
      • activityId

        protected Long activityId
      • updatedAt

        protected Date updatedAt
      • comments

        @NotNull
        @Size(max=500)
        protected String comments
        说明
    • Constructor Detail

      • Occupancy

        public Occupancy()
    • Method Detail

      • setRoom

        public void setRoom​(Classroom room)
      • setTime

        public void setTime​(WeekTime time)
      • setActivityType

        public void setActivityType​(ActivityType usage)
      • getApp

        public App getApp()
      • setApp

        public void setApp​(App app)
      • getComments

        public String getComments()
      • setComments

        public void setComments​(String comments)
      • getActivityId

        public Long getActivityId()
      • setActivityId

        public void setActivityId​(Long activityId)
      • getUpdatedAt

        public Date getUpdatedAt()
      • setUpdatedAt

        public void setUpdatedAt​(Date updatedAt)