package com.utic.center.utic.traf.server.dto;

import lombok.Data;

import java.io.Serializable;

@Data
public class LinkMissingValueHistDto implements Serializable {
    private static final long serialVersionUID = 1L;

    private String linkId;
    private String exeDate;
    private int l4LinkSpd;
    private int upLinkSpd;
    private int dnLinkSpd;
    private int l4PatnSpd;
    private int upPatnSpd;
    private int dnPatnSpd;
    private int linkPatnSpd;
    private String missingType;
    private int revisionSpd;
    private String l4LinkId;
    private String upLinkId;
    private String dnLinkId;
    private int psdSpeed;
    private int knnSpeed;
    private int knnCnt;

    public LinkMissingValueHistDto(LinkDto link, String exeDate) {
        this.linkId = link.getLinkId();
        this.exeDate = exeDate;
        this.l4LinkId = link.getLink4Id();
        this.upLinkId = link.getUpLinkId();
        this.dnLinkId = link.getDnLinkId();
        this.l4LinkSpd = 0;
        this.upLinkSpd = 0;
        this.dnLinkSpd = 0;
        this.l4PatnSpd = 0;
        this.upPatnSpd = 0;
        this.dnPatnSpd = 0;
        this.linkPatnSpd = 0;
        this.missingType = "";
        this.revisionSpd = 0;
        this.psdSpeed = 0;
        this.knnSpeed = 0;
        this.knnCnt = 0;
    }
}
