package com.izouma.jmrh.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.izouma.jmrh.enums.AuditStatus;
import com.izouma.jmrh.utils.excel.EnumConverter;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("企业信息")
public class OrgInfoDTO {

    @ExcelProperty("ID")
    private Long id;

    @ExcelProperty("单位名称")
    private String orgName;

    @ExcelProperty("单位性质")
    private String orgType;

    @ExcelProperty("所属行业")
    private String industry;

    @ExcelProperty("上市公司")
    private boolean publicCompany;

    @ExcelProperty("隶属单位")
    private String parentOrg;

    @ExcelProperty("所在地")
    private String address;

    @ExcelProperty("详细地址")
    private String addressDetail;

    @ExcelProperty("企业介绍")
    private String intro;

    @ExcelProperty("企业logo")
    private String logo;

    @ExcelProperty("营业执照")
    private String license;

    @ExcelProperty("营业执照")
    private String uscc;

    @ExcelProperty("联系人")
    private String contactName;

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

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

    @ExcelProperty("电子邮箱")
    private String contactEmail;

    @ExcelProperty("信息报送承诺书扫描件")
    private String attach;

    @ExcelProperty("用户ID")
    private Long userId;

    @ExcelProperty(value = "审核状态", converter = EnumConverter.class)
    private AuditStatus status;

    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty("创建时间")
    private LocalDateTime createdAt;
}
