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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.continew.starter.extension.crud.model.resp.BaseDetailResp;

import java.io.Serial;
import java.time.LocalDateTime;

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

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 分类(1:作业，2:考试)
     */
    @Schema(description = "分类(1:作业，2:考试)")
    @ExcelProperty(value = "分类(1:作业，2:考试)")
    private Integer type;

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

    /**
     * 作业要求
     */
    @Schema(description = "作业要求")
    @ExcelProperty(value = "作业要求")
    private String requirements;

    /**
     * 满分
     */
    @Schema(description = "满分")
    @ExcelProperty(value = "满分")
    private Integer fullScore;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    @ExcelProperty(value = "开始时间")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    @ExcelProperty(value = "结束时间")
    private LocalDateTime endTime;

    /**
     * 示例图片
     */
    @Schema(description = "示例图片")
    private String exampleImages;
}