package com.zhgd.xmgl.modules.basicdata.dto;

import com.zhgd.xmgl.modules.basicdata.entity.DustNoiseData;
import com.zhgd.xmgl.modules.basicdata.entity.EnvironmentAlarm;
import com.zhgd.xmgl.modules.basicdata.entity.EnvironmentDev;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "扬尘设备信息(DTO)", description = "EnvironmentDevDto")
public class EnvironmentDevDto extends EnvironmentDev {

    @ApiModelProperty(value = "最后一次上传记录")
    private DustNoiseData dustNoiseData;

    // TODO  扬尘报警记录
    @ApiModelProperty(value = "扬尘报警记录(最近十条)")
    private List<EnvironmentAlarm> environmentAlarmList;
}
