package com.njcn.csharmonic.pojo.vo;

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

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

/**
 * @author hongawen
 * @version 1.0.0
 * @date 2023年09月20日 15:57
 */
@Data
@NoArgsConstructor
public class CsEventReasonAndTypeVo {

    @ApiModelProperty(value = "暂降原因")
    private List<EventReason> eventReason;

    @ApiModelProperty(value = "暂降类型")
    private List<EventType> eventType;

    @Data
    public static class EventReason implements Serializable {

        @ApiModelProperty(value = "暂降原因id")
        private String eventReasonId;

        @ApiModelProperty(value = "个数")
        private Integer eventReasonCount;
    }

    @Data
    public static class EventType implements Serializable {

        @ApiModelProperty(value = "暂降类型id")
        private String eventTypeId;

        @ApiModelProperty(value = "个数")
        private Integer eventTypeCount;
    }
}
