package com.chinaweal.aiccs.aiccs.expelled.entity;

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 com.chinaweal.youfool.framework.springboot.mybatis.plus.SuperEntity;
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;

/**
 * @Description: 市场主体拟除名名单决定业务表实体类
 * @Author: TiAmo-cc
 * @Email: 1049976610@qq.com
 * @Date: 2026/1/7 10:39
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "EXPELLED_AUDIT_INFO")
@ApiModel(value = "ExpelledAuditInfo对象", description = "市场主体拟除名名单决定业务信息")
public class ExpelledAuditInfo extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 业务类型：1-异议管理，2-决定管理
     */
    @ApiModelProperty(value = "业务类型：1-异议管理，2-决定管理")
    @TableField(value = "BIZ_TYPE")
    private String bizType;

    /**
     * 业务号
     */
    @ApiModelProperty(value = "业务号")
    @TableField(value = "AUDIT_NO")
    private String auditNo;

    /**
     * 除名时间
     */
    @ApiModelProperty(value = "除名时间")
    @TableField(value = "REMOVE_DATE")
    private LocalDate removeDate;

    /**
     * 除名机关编码
     */
    @ApiModelProperty(value = "除名机关编码")
    @TableField(value = "REMOVE_ORG_NO")
    private String removeOrgNo;

    /**
     * 除名机关名称
     */
    @ApiModelProperty(value = "除名机关名称")
    @TableField(value = "REMOVE_ORG_NAME")
    private String removeOrgName;

    /**
     * 逻辑删除标识：0-未删除，1-已删除
     */
    @ApiModelProperty(value = "逻辑删除标识：0-未删除，1-已删除")
    @TableField(value = "IS_DELETE")
    private String isDelete;

    /**
     * 拟除名市场主体提出的陈述、申辩意见
     */
    @ApiModelProperty(value = "拟除名市场主体提出的陈述、申辩意见")
    @TableField(exist = false)
    private String opinion;

    /**
     * 异议/决定意见
     */
    @ApiModelProperty(value = "异议/决定意见")
    @TableField(exist = false)
    private String auditOpinion;
}
