package cn.teammodel.model.dto.weekDuty;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author winter
 * @create 2024-01-08 15:31
 */
@Data
public class FindDutyRecordDto {
    @ApiModelProperty(value = "班级 id", notes = "若不携带默认不指定某个班级")
    private String classId;
    @ApiModelProperty(required = true)
    @NotNull(message = "学段 id 不能为空")
    private String periodId;
    @ApiModelProperty(value = "是否加分", notes = "若不携带默认为全部")
    private Boolean positive;
    @ApiModelProperty(value = "起始时间", notes = "若不携带默认为当前周")
    private Long startTime;
    @ApiModelProperty(value = "结束时间", notes = "若不携带默认为当前周")
    private Long endTime;
}
