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.NotEmpty;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalaryAttendanceSupportDto {
    /**
     * 开始日期(yyyy-mm-dd)
     */
    @NotBlank(message = "开始日期不能为空")
    private String startDate;
    /**
     * 结束日期(yyyy-mm-dd)
     */
    @NotBlank(message = "结束日期不能为空")
    private String endDate;
    /**
     * 用户ID集合
     */
    @NotEmpty(message = "用户ID集合不能为空")
    private List<String> userIds;
}
