package com.chinaweal.aiccs.aiccs.susnate.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chinaweal.aiccs.common.util.DateUtils;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.SuperEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 *
 * @author zhouxy
 * @since 2025-12-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "e_falper_info")
@ApiModel(value = "EFALPERINFO对象", description = "虚假登记责任人信息")
public class EFalPerInfo extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 虚假登记ID
     */
    @ApiModelProperty(value = "虚假登记ID")
    @TableId(value = "FALPERID")
    private String falperId;

    /**
     * 主体身份代码
     */
    @ApiModelProperty(value = "主体身份代码")
    @TableField(value = "PRIPID")
    private String pripid;

    /**
     * 企业（机构）名称
     */
    @ApiModelProperty(value = "企业（机构）名称")
    @TableField(value = "ENTNAME")
    private String entname;

    /**
     * 统一社会信用代码(CA91)
     */
    @ApiModelProperty(value = "统一社会信用代码(CA91)")
    @TableField(value = "UNISCID")
    private String uniscid;

    /**
     * 注册号
     */
    @ApiModelProperty(value = "注册号")
    @TableField(value = "REGNO")
    private String regno;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    @TableField(value = "NAME")
    private String name;

    /**
     * 证件类型(CB16)
     */
    @ApiModelProperty(value = "证件类型(CB16)")
    @TableField(value = "CERTYPE")
    private String cerType;

    /**
     * 证件号码
     */
    @ApiModelProperty(value = "证件号码")
    @TableField(value = "CERNO")
    private String cerNo;

    /**
     * 处理结果
     */
    @ApiModelProperty(value = "处理结果")
    @TableField(value = "HANDLREST")
    private String handlRest;

    /**
     * 处理原因(CD96)
     */
    @ApiModelProperty(value = "处理原因(CD96)")
    @TableField(value = "HANDLREA")
    private String handlRea;

    /**
     * 作出决定机关(CA11)
     */
    @ApiModelProperty(value = "作出决定机关(CA11)")
    @TableField(value = "JUDAUTH")
    private String judAuth;

    /**
     * 作出决定机关（中文名称）
     */
    @ApiModelProperty(value = "作出决定机关（中文名称）")
    @TableField(value = "JUDAUTH_CN")
    private String judAuthCn;

    /**
     * 作出决定日期
     */
    @ApiModelProperty(value = "作出决定日期")
    @TableField(value = "JUDDATE")
    @JsonFormat(pattern = DateUtils.DATE_DEFAULT_FORMAT, timezone = "GMT+8")
    private LocalDate judDate;

    /**
     * 数据汇总单位
     */
    @ApiModelProperty(value = "数据汇总单位")
    @TableField(value = "S_EXT_FROMNODE")
    private String sExtFromNode;

    /**
     * 数据汇总时间
     */
    @ApiModelProperty(value = "数据汇总时间")
    @TableField(value = "S_EXT_DATATIME")
    @JsonFormat(pattern = DateUtils.DATETIME_DEFAULT_FORMAT, timezone = "GMT+8")
    private LocalDateTime sExtDataTime;

    /**
     * 是否删除0未删除2已删除
     */
    @ApiModelProperty(value = "是否删除0未删除2已删除")
    @TableField(value = "DSTATE")
    private String dstate;
}
