package com.ruoyi.clock.domain.bo;

import com.ruoyi.common.core.validate.QueryGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 打卡日历查询业务对象
 *
 * @author pengc
 */
@Data
@ApiModel("打卡日历查询业务对象")
public class ClockCalendarBo {

    /**
     * 活动id
     */
    @ApiModelProperty(value = "活动id", required = true)
    @NotNull(message = "活动id不能为空", groups = {QueryGroup.class})
    private Long activityId;

    /**
     * 年份（如 2026）
     */
    @ApiModelProperty(value = "年份", required = true)
    @NotNull(message = "年份不能为空", groups = {QueryGroup.class})
    private Integer year;

    /**
     * 月份（1-12）
     */
    @ApiModelProperty(value = "月份", required = true)
    @NotNull(message = "月份不能为空", groups = {QueryGroup.class})
    private Integer month;

}
