package top.continew.admin.business.model.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.continew.starter.data.core.annotation.Query;
import top.continew.starter.data.core.enums.QueryType;

import java.io.Serial;
import java.io.Serializable;

/**
 * 作业表查询条件
 *
 * @author 张波
 * @since 2024/10/22 11:45
 */
@Data
@Schema(description = "作业表查询条件")
public class AssignmentsQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 课程表ID
     */
    @Schema(description = "课程表ID")
    @Query(type = QueryType.EQ)
    private Long courseId;

    /**
     * 作业名称
     */
    @Schema(description = "作业名称")
    @Query(type = QueryType.EQ)
    private String name;
}