package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * A类证书对象 grad_table
 *
 * @author ruoyi
 * @date 2022-12-05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GradTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 证书类型 */
    @Excel(name = "证书类型", dictType = "cert_a_type", combo = {"专业能力证书","培训结业证书","学时证明"})
    private Integer certType;

    /** 姓名 */
    @Excel(name = "姓名")
    private String uesrName;

    /** 身份证 */
    @Excel(name = "身份证")
    private String userId;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String certId;

    /** 发证时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发证时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueDate;

    /** 培训名称 */
    @Excel(name = "培训名称")
    private String certName;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 学时数 */
    @Excel(name = "学时数")
    private String courseHours;

    /** 等级 */
    @Excel(name = "等级")
    private String level;

    /** 培训时间段 */
    @Excel(name = "培训时间段")
    private String trainPeriod;

    /** 照片 */
    //@Excel(name = "照片")
    private String picture;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String userPhone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String userEmail;

    /** 导入系统的时间戳 */
    private Date updateDate;

    /** 自增id */
    private Integer id;

    /**
     * 模板id
     */
    @Excel(name = "模板id", prompt = "填写证书模板列表中的证书编码")
    private int templateId;

    /**
     * 年度
     */
    private String year;

}
