package com.ruoyi.ccdi.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * 中介统一列表VO
 *
 * @author ruoyi
 * @date 2026-02-04
 */
@Data
@Schema(description = "中介统一列表VO")
public class CcdiIntermediaryVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private String id;

    @Schema(description = "姓名/机构名称")
    private String name;

    @Schema(description = "证件号/统一社会信用代码")
    private String certificateNo;

    @Schema(description = "中介类型(1=个人, 2=实体)")
    private String intermediaryType;

    @Schema(description = "人员类型")
    private String personType;

    @Schema(description = "公司")
    private String company;

    @Schema(description = "数据来源")
    private String dataSource;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
