package com.yuchen.saas.park.api.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * @author 肖祥
 * @date 2022/9/28 11:52
 * @Description 消防设施部件删除请求
 */
@Data
public class FireFacilityPartDeleteRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设施id不能为空")
    @NotEmpty(message = "设施id不能为空")
    @Size(min = 1,max = 1000,message = "部件数量1到1000")
    private List<Long> ids;
}
