package com.ruoyi.course.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 教室信息表
 * </p>
 *
 * @author xu
 * @since 2025-12-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("classroom")
@ApiModel(value="Classroom对象", description="教室信息表")
public class Classroom implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "教室编号")
    private String roomNo;

    @ApiModelProperty(value = "教室名称")
    private String roomName;

    @ApiModelProperty(value = "教室类型(普通教室/实验室/多媒体教室/体育场)")
    private String roomType;

    @ApiModelProperty(value = "容纳人数")
    private Integer capacity;

    @ApiModelProperty(value = "楼层")
    private Integer floor;

    @ApiModelProperty(value = "教学楼")
    private String building;

    @ApiModelProperty(value = "设备信息")
    private String equipment;

    @ApiModelProperty(value = "是否可用(0=不可用,1=可用)")
    private Integer isAvailable;

    @ApiModelProperty(value = "特殊用途")
    private String specialPurpose;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
