package org.dromara.zhishu.domain.vo;

import org.dromara.zhishu.domain.TAudit;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 审核视图对象 t_audit
 *
 * @author Lion Li
 * @date 2025-04-01
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TAudit.class)
public class TAuditVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;


    /**
     *用户昵称
     */
    @ExcelProperty(value = "用户昵称")
    private String userName;

    /**
     * 管理员ID
     */
    @ExcelProperty(value = "管理员ID")
    private Long adminId;

    /**
     * 审核状态（0通过 1未通过)
     */
    @ExcelProperty(value = "审核状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "审核状态（0通过 1未通过)")
    private String status;

    /**
     *  企业名称
     */
    @ExcelProperty(value = "企业名称")
    private String companyName;

    /**
     * 企业类型
     */
    @ExcelProperty(value = "企业类型")
    private String companyType ;

    /**
     * 联系人名
     */
    @ExcelProperty(value = "联系人名")
    private String contactPerson;

    /**
     *  联系方式
     */
    @ExcelProperty(value = "联系方式")
    private String contactPhone;;

    /**
     *  邮箱
     */
    @ExcelProperty(value = "邮箱")
    private String email;


    /**
     * 身份证图片
     */
    private String cardIdentity;


    /**
     * 营业执照名称
     */
    private String licenseName;

    /**
     * 营业执照编号
     */
    private String licenseNumber;

    /**
     *  营业执照
     */
    @ExcelProperty(value = "营业执照")
    private String license;

    /**
     *  备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 地址
     */
    private String adress;

    /**
     * 经营许可证
     */
    private String businessLicense;

    /**
     * 营业执照过期时间
     */
    private String licenseTime;


    /**
     * 经营许可证过期时间
     */
    private String businessLicenseTime;

    private Long auditId;

}
