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 java.io.Serial;
import java.io.Serializable;

/**
 * @Author: jia
 * @Date: 2025/07/01/15:32
 * @Description:
 */

@Data
@ExcelIgnoreUnannotated
@Schema(description = "导出信息")
public class SignInExportResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    @ExcelProperty(value = "用户名")
    private String userName;

    /**
     * 异常
     */
    @Schema(description = "异常")
    @ExcelProperty(value = "异常")
    private Integer abnormal;

    /**
     * 缺课次数
     */
    @Schema(description = "缺课次数")
    @ExcelProperty(value = "缺课次数")
    private Integer absent;

    /**
     * 签到次数
     */
    @Schema(description = "签到次数")
    @ExcelProperty(value = "签到次数")
    private Integer present;

    /**
     * 假条数量
     */
    @Schema(description = "假条数量")
    @ExcelProperty(value = "假条数量")
    private Integer leaveCount;

    /**
     * 缺课率
     */
    @Schema(description = "缺课率")
    @ExcelProperty(value = "缺课率")
    private Double absenceRate;

}
