package jnpf.model.attendance.dto;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MonthAutoSealSettingDto {
    /**
     * 数据id
     */
    @NotBlank(message = "数据id不能为空")
    private String id;
    /**
     * 月度自动封账设置开关(0-关  1-开)
     */
    @NotNull(message = "月度自动封账设置开关不能为空")
    private Integer autoSeal;
    /**
     * 每月封账日期
     */
    @NotNull(message = "每月封账日期不能为空")
    private Integer sealDay;
    /**
     * 封账时间点(HH:mm)
     */
    @NotBlank(message = "封账时间点不能为空")
    private String sealTime;
}
