package com.zksy.data.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

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

/**
 * 历史法定代表人信息
 * @TableName xcr_historical_legal_representative
 */
@TableName(value ="xcr_historical_legal_representative")
@Data
public class XcrHistoricalLegalRepresentative extends BasePo implements Serializable {

    @JsonProperty("CERTYPE")
    @TableField("CERTYPE")
    private String CERTYPE;

    @JsonProperty("CERNO")
    @TableField("CERNO")
    private String CERNO;

    @JsonProperty("HISNAMEID")
    @TableField("HISNAMEID")
    private String HISNAMEID;

    @JsonProperty("ETPS_ID")
    @TableField("ETPS_ID")
    private String ETPS_ID;

    @JsonProperty("PRIPID")
    @TableField("PRIPID")
    private String PRIPID;

    @JsonProperty("S_EXT_DATATIME")
    @TableField("S_EXT_DATATIME")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date S_EXT_DATATIME;

    @JsonProperty("NAME")
    @TableField("NAME")
    private String NAME;
}