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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.continew.starter.extension.crud.model.resp.BaseResp;

import java.io.Serial;

/**
 * 作业表信息
 *
 * @author 张波
 * @since 2024/10/22 11:45
 */
@Data
@Schema(description = "作业表信息")
public class AssignmentsResp extends BaseResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 课程表ID
     */
    @Schema(description = "课程表ID")
    private Long courseId;

    /**
     * 作业名称
     */
    @Schema(description = "作业名称")
    private String name;

    /**
     * 完成情况
     */
    @Schema(description = "完成情况,学生为已完成/未完成,老师为百分比", example = "100")
    private String degreeOfCompletion;

    /**
     * 示例图片
     */
    private String exampleImages;

    /**
     * 学生角色查询如果已提交作业返回作业提交ID
     */
    @Schema(description = "学生角色查询如果已提交作业返回作业提交ID")
    private Long assignmentsSubmissionsId;

}