package com.ruoyi.hezhi.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExamPayInfoDto {
// t1.exam_id examId,
//            t1.exam_batch_index as examBatchIndex,
//            t2.exam_start_time as examStartTime,
//            t3.exam_batch_early as examBatchEarly,
//            NOW() > DATE_SUB(t2.exam_start_time, INTERVAL t3.exam_batch_early DAY) AS isExpired

    /*
    * 考试id
    * */
    private Long examId;
    /*
     * 考试批次index
     * */
    private Integer examBatchIndex;
    /*
     * 考试批次
     * */
    private String examBatch;
    /*
     * 考试开始时间
     * */
    private String examStartTime;
    /*
     *  考试提前时间
     * */
    private Integer examBatchEarly;
    /*
     * 是否过期 0-未过期 1-已过期
     * */
    private Integer isExpired;
}
