package com.hotwj.platform.reportStatistics.domain.vo;

import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.dromara.common.json.handler.BigDecimalTwoDecimalSerializer;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 政府端安全生产教育培训-参训人员信息VO
 *
 * @author shihongwei
 * @date 2026-02-02
 */
@Data
public class GovSafetyEducationTrainingParticipantVo {

    @ExcelProperty("姓名")
    private String userName;

    @ExcelProperty("车牌号")
    private String plateNumber;

    @ExcelProperty("性别")
    private String gender;

    @ExcelProperty("身份证号")
    private String idCardNo;

    @ExcelProperty("手机号")
    private String phone;

    @ExcelProperty("是否完成")
    private Long isCompleted;

    @ExcelProperty("学习进度")
    @JsonSerialize(using = BigDecimalTwoDecimalSerializer.class)
    private BigDecimal learnProgress;

    @ExcelProperty("是否通过")
    private Long isPass;

    @ExcelProperty("完成时间")
    private Date completeTime;

    @ExcelIgnore
    private String completeTimeLabel;

    @ExcelIgnore
    private Long signatureOssId;

    @ExcelIgnore
    private String studyPhotoOssId;

    @ExcelIgnore
    private String signatureUrl;

    @ExcelIgnore
    private String avatarUrl;
}
