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

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor//(access = AccessLevel.PROTECTED)
//@AllArgsConstructor
public class TrafficWeight implements Serializable {
    private static final long serialVersionUID = 1L;

    private String weightCode;      // 가중치코드
    private Integer valIdx;         // 메모리 인덱스
    private Float gps;            // GPS 가중치
    private Float utis;           // UTIS 가중치
    private Float loc;            // LOC 가중치
    private Float dongbu;         // DONGBU 가중치
    private String dataResType;     // 데이터소스유형

    public TrafficWeight(String weightCode, Integer valIdx, Float gps, Float utis, Float loc, Float dongbu, String dataResType) {
        this.weightCode = weightCode;
        this.valIdx = valIdx;
        this.gps = gps;
        this.utis = utis;
        this.loc = loc;
        this.dongbu = dongbu;
        this.dataResType = dataResType;
    }
}
