package com.kt.event.analytics.dto.response;

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * ROI 계산
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RoiCalculation {

    /**
     * 순이익 (원)
     */
    private BigDecimal netProfit;

    /**
     * ROI (%)
     */
    private Double roiPercentage;

    /**
     * 손익분기점 도달 시점
     */
    private LocalDateTime breakEvenPoint;

    /**
     * 투자 회수 기간 (일)
     */
    private Integer paybackPeriod;
}
