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 MonthSealSubmitDto {
    /**
     * 月份(yyyy-mm)
     */
    @NotBlank(message = "月份不能为空")
    private String month;
    /**
     * 用户id集合
     */
    @NotEmpty(message = "用户id集合不能为空")
    private List<String> userIdList;
}
