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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author 肖祥
 * @date 2022/10/18 16:08
 * @Description 消防设施列表相应类
 */
@Data
public class FireFacilityResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设施id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long id;
    @ApiModelProperty(value = "园区id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long parkId;

    @ApiModelProperty(value = "园区名称")
    private String parkName;
    @ApiModelProperty(value = "设施名称")
    private String name;

    @ApiModelProperty(value = "消防设施部件")
    private List<FireFacilityPartResponse> fireFacilityPartResponseList;
}
