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

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

import java.io.Serializable;

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

    private int trafCnt;  // 교통정보 최종 등록시각
    private int evntCnt;  // 사고/공사 최종 등록시각
    private int incdCnt;  // 돌발 최종 등록시각

    public void reset() {
        this.trafCnt = 0;
        this.evntCnt = 0;
        this.incdCnt = 0;
    }

}
