package com.ruoyi.info.collection.domain.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.ruoyi.common.annotation.Required;
import com.ruoyi.common.annotation.TextFormat;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 中介实体关联关系导入对象
 */
@Data
public class CcdiIntermediaryEnterpriseRelationExcel implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 中介本人证件号码 */
    @ExcelProperty(value = "中介本人证件号码", index = 0)
    @ColumnWidth(24)
    @Required
    @TextFormat
    private String ownerPersonId;

    /** 统一社会信用代码 */
    @ExcelProperty(value = "统一社会信用代码", index = 1)
    @ColumnWidth(24)
    @Required
    @TextFormat
    private String socialCreditCode;

    /** 关联职务 */
    @ExcelProperty(value = "关联职务", index = 2)
    @ColumnWidth(20)
    private String relationPersonPost;

    /** 备注 */
    @ExcelProperty(value = "备注", index = 3)
    @ColumnWidth(30)
    private String remark;
}
