package com.njcn.supervision.pojo.param.leaflet;

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

/**
 * Description:
 * Date: 2024/6/20  9:37【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WarningAddParam {
    @ApiModelProperty(value = "对应问题源ID，用于查询详细信息")
    private String id;
    /**
     * 整改意见
     */
    @ApiModelProperty(value = "整改意见")
    private String reformAdvice;

    @Data
    public static class Extend extends WarningAddParam{
        @ApiModelProperty(name = "type", value = "1:预警单 2:告警单")
        private Integer type;

        @ApiModelProperty(name = "type", value = "预警单Id")
        private String problemId;

        @ApiModelProperty(name = "issueDetail", value = "问题描述")
        private String issueDetail;
    }
}
