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

import lombok.Data;

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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import top.continew.starter.extension.crud.model.resp.BaseDetailResp;

import java.io.Serial;
import java.time.*;

/**
 * business详情信息
 *
 * @author jiay
 * @since 2025/06/26 10:24
 */
@Data
@ExcelIgnoreUnannotated
@Schema(description = "business详情信息")
public class SignInDetailResp extends BaseDetailResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @Schema(description = "用户id")
    @ExcelProperty(value = "用户id")
    private Long userId;

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

    /**
     * 请假原因
     */
    @Schema(description = "请假原因")
    @ExcelProperty(value = "请假原因")
    private String leaveCause;

    /**
     * 1、签到 2、请假 3、旷课
     */
    @Schema(description = "1、签到  2、请假  3、旷课")
    @ExcelProperty(value = "1、签到  2、请假  3、旷课")
    private Integer signIn;
}