package com.chinaweal.aiccs.aiccs.market.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.SuperEntity;
import com.chinaweal.youfool.framework.springboot.json.LocalDateTimeStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 拟撤销主体信息表
 * </p>
 *
 * @author chinaweal
 * @since 2022-05-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("draft_revoke_entity")
@ApiModel(value="DraftRevokeEntity对象", description="拟撤销主体信息表")
public class DraftRevokeEntity extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 企业主键
     */
    @ApiModelProperty(value = "企业主键")
    @TableField("pripid")
    private String pripid;

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

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

    /**
     * 标记时间
     */
    @ApiModelProperty(value = "标记时间")
    @TableField("tabTime")
    @JsonSerialize(using = LocalDateTimeStringSerializer.class)
    private LocalDateTime tabTime;

    /**
     * 状态 0-废弃 1-正常
     */
    @ApiModelProperty(value = "状态 0-废弃 1-正常")
    @TableField("status")
    private String status;

    /**
     * 列入机关
     */
    @ApiModelProperty(value = "列入机关")
    @TableField("intoOrg")
    private String intoOrg;


}
