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_nate_operregdec")
@ApiModel(value = "ENATEOPERREGDEC对象", description = "冒用他人身份取得公司登记处理决定")
public class ENateOperRegDec extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 冒用身份处理ID
     */
    @ApiModelProperty(value = "冒用身份处理ID")
    @TableId(value = "PERSONATERESID")
    private String personatresId;

    /**
     * 主体身份代码(CA14)
     */
    @ApiModelProperty(value = "主体身份代码(CA14)")
    @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;


    /**
     * 登记机关(CA11)
     */
    @ApiModelProperty(value = "登记机关(CA11)")
    @TableField(value = "REGORG")
    private String regOrg;

    /**
     * 登记机关（中文名称）
     */
    @ApiModelProperty(value = "登记机关（中文名称）")
    @TableField(value = "REGORG_CN")
    private String regOrgCn;

    /**
     * 公告内容
     */
    @ApiModelProperty(value = "公告内容")
    @TableField(value = "NOTICECONTENT")
    private String noticeContent;

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

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

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

    /**
     * 公告日期
     */
    @ApiModelProperty(value = "公告日期", example = "2025-01-01")
    @TableField(value = "NOTICEDATE")
    @JsonFormat(pattern = DateUtils.DATE_DEFAULT_FORMAT, timezone = "GMT+8")
    private LocalDate noticedate;

    /**
     * 数据汇总单位
     */
    @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;
}
