package jnpf.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.util.Date;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DimensionsAttendanceDayCountDto {
    /**
     * 系统门店ID集合
     */
    @NotEmpty(message = "系统门店ID集合不能为空")
    private List<String> storeIds;
    /**
     * 开始时间
     */
    @NotNull(message = "开始时间不能为空")
    private Date startDate;
    /**
     * 结束时间
     */
    @NotNull(message = "结束时间不能为空")
    private Date endDate;
}
