package com.chinaweal.aiccs.crgs.movein.entity.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 迁入主体查询结果信息体
 * @author <a href="https://blog.lroyia.top">lroyia</a>
 * @since 2021/10/19 13:51
 **/
@Data
public class MoveInEntityDto implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    private String pripid;

    /**
     * 主体名称
     */
    private String entName;

    /**
     * 统一码
     */
    private String uniscid;

    /**
     * 注册号
     */
    private String regNo;

    /**
     * 注册机构编码
     */
    private String regOrg;

    /**
     * 注册机构名称
     */
    private String regOrgCn;

    /**
     * 迁入日期
     */
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime moveInDate;

    /**
     * 同步时间
     */
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime syncDate;

    /**
     * 同步状态
     */
    private String syncState;

    /**
     * 迁入id
     */
    private String miid;
}
