package com.zksy.data.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * 撤销登记信息表
 * @TableName xcr_deregistration
 */
@TableName(value ="xcr_deregistration")
@Data
public class XcrDeregistration extends BasePo implements Serializable {
    @TableField("ETPS_ID")
    @JsonProperty("ETPS_ID")
    private String ETPS_ID;  // 企业ID

    @TableField("CANCELID")
    @JsonProperty("CANCELID")
    private String CANCELID;  // 撤销登记ID

    @TableField("PRIPID")
    @JsonProperty("PRIPID")
    private String PRIPID;  // 主体身份代码

    @TableField("CANCELREGTYPE")
    @JsonProperty("CANCELREGTYPE")
    private String CANCELREGTYPE;  // 撤销登记类型 CD35

    @TableField("CANCELOBJ")
    @JsonProperty("CANCELOBJ")
    private String CANCELOBJ;  // 撤销对象 CD01

    @TableField("CANCELREA")
    @JsonProperty("CANCELREA")
    private String CANCELREA;  // 撤销原因 CD30

    @TableField("CANCELDATE")
    @JsonProperty("CANCELDATE")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date CANCELDATE;  // 撤销日期

    @TableField("COURTNOTNO")
    @JsonProperty("COURTNOTNO")
    private String COURTNOTNO;  // 人民法院通知文书文号

    @TableField("S_EXT_DATATIME")
    @JsonProperty("S_EXT_DATATIME")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date S_EXT_DATATIME;  // 数据更新时间
}