package org.dromara.art.domain.bo;

import org.dromara.art.domain.ArtSchoolDorm;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 校区宿舍条件业务对象 art_school_dorm
 *
 * @author ZhouWenTao
 * @date 2026-02-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ArtSchoolDorm.class, reverseConvertGenerate = false)
public class ArtSchoolDormBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long dormId;

    /**
     * 校区ID
     */
    @NotNull(message = "校区ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long campusId;

    /**
     * 几人间(4/6/8...)
     */
    private Long roomSize;

    /**
     * 是否上床下桌(0否1是)
     */
    private Long bunkBedDesk;

    /**
     * 是否独立卫浴(0否1是)
     */
    private Long privateBath;

    /**
     * 宿舍标签(冗余文本：空调/热水/洗衣房...)
     */
    private String tags;

    /**
     * 补充说明
     */
    private String description;

    /**
     * 备注
     */
    private String remark;


}
