package com.arms.api.analysis.time.model.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ScatterChartVO {

    @Builder.Default
    private String date = "";

    @Builder.Default
    private long requirement = 0L;

    @Builder.Default
    private long relationIssue = 0L;

    public void addRequirement(long count) {
        this.requirement += count;
    }

    public void addRelationIssue(long count) {
        this.relationIssue += count;
    }
}
