package org.dromara.system.domain.bo;

import org.dromara.system.domain.Facilities;
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.*;

import java.util.List;

/**
 * 【请填写功能名称】业务对象 facilities
 *
 * @author Lion Li
 * @date 2024-12-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Facilities.class, reverseConvertGenerate = false)
public class FacilitiesBo extends BaseEntity {

    /**
     * 设施id
     */
    @NotBlank(message = "设施id不能为空", groups = { EditGroup.class })
    private String facilitiesId;

    /**
     * 设施名称
     */
    @NotBlank(message = "设施名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String facilitiesName;

    /**
     * 设施标题
     */
    @NotBlank(message = "设施标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String facilitiesTitle;

    /**
     * 设施描述
     */
    @NotBlank(message = "设施描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String facilitiesDesc;

    /**
     * 设施描述
     */
    @NotBlank(message = "设施类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String facilitiesType;

    private List<SysImgBo> sysimg;

    private String dictType;

    private List<String> facilitiesIds;

    private String positionId;

    private String communityId;

    private String roomId;

    private String regionId;

    /**
     * 分页大小
     */
    private Integer pageSize;

    /**
     * 当前页数
     */
    private Integer pageNum;


}
