package jnpf.model.attendance.model;

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

import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProcessResult {
    /**
     * 总次数
     */
    private int count = 0;
    /**
     * 总天数
     */
    private BigDecimal days = BigDecimal.ZERO;
    /**
     * 总小时数
     */
    private BigDecimal hours = BigDecimal.ZERO;
    /**
     * 总计薪小时数
     */
    private BigDecimal payrollHours = BigDecimal.ZERO;
    /**
     * 总分钟数
     */
    private int minutes = 0;

    public ProcessResult(BigDecimal hitDays, BigDecimal hitHours, BigDecimal hitHours1) {
        this.days = hitDays;
        this.hours = hitHours;
        this.payrollHours = hitHours1;
    }
}
