package jnpf.attendance.dto;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AttendanceCountAvgHoursVo {
    /**
     * 月份
     */
    @NotBlank(message = "月份不能为空")
    private String month;
    /**
     * 平均值
     */
    @NotNull(message = "平均值不能为空")
    private BigDecimal avgHours = BigDecimal.ZERO;
}
