package jnpf.model.attendance.dto;

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

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DayStatisticsDto {
    /**
     * 门店ID集合
     */
    @NotEmpty(message = "门店ID集合不能为空")
    private List<Integer> storeIds;
    /**
     * 日期(yyyy-mm-dd)
     */
    @NotNull(message = "日期不能为空")
    private LocalDate day;

    /**
    * 租户Id
    */
    @NotNull(message = "日期不能为空")
    private String tenantId;

}
