package com.lesingle.creation.dto.homework;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 作业查询 DTO
 */
@Data
@Schema(description = "作业查询参数")
public class HomeworkQueryDTO {

    @Schema(description = "页码", example = "1")
    private Integer pageNum = 1;

    @Schema(description = "每页数量", example = "10")
    private Integer pageSize = 10;

    @Schema(description = "作业名称关键字")
    private String nameKeyword;

    @Schema(description = "作业状态：unpublished/published")
    private String status;

    @Schema(description = "有效状态：1-有效，2-失效")
    private Integer validState;
}
