package com.lesingle.creation.vo.homework;

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

import java.time.LocalDateTime;

/**
 * 作业列表 VO
 */
@Data
@Schema(description = "作业列表响应")
public class HomeworkListVO {

    @Schema(description = "作业 ID")
    private Long id;

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

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

    @Schema(description = "发布时间")
    private LocalDateTime publishTime;

    @Schema(description = "提交开始时间")
    private LocalDateTime submitStartTime;

    @Schema(description = "提交结束时间")
    private LocalDateTime submitEndTime;

    @Schema(description = "提交人数")
    private Integer submissionCount;

    @Schema(description = "已批改人数")
    private Integer reviewedCount;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
