package com.chinaweal.aiccs.aiccs.revoke.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lee
 * @since 2021-08-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hearingnotice")
public class Hearingnotice extends Model<Hearingnotice> {

    private static final long serialVersionUID=1L;

    /**
     * 听证告知书id
     */
      @TableId("hearingNoticeId")
    private String hearingNoticeId;

    /**
     * 业务号
     */
    private String bizseq;

    /**
     * 主体身份代码
     */
    private String pripid;

    /**
     * 处罚内容
     */
    @TableField("punishContent")
    private String punishContent;

    /**
     * 违法事实
     */
    @TableField("illegalFacts")
    private String illegalFacts;

    /**
     * 处罚理由
     */
    @TableField("punishReason")
    private String punishReason;

    /**
     * 处罚依据
     */
    @TableField("punishBasis")
    private String punishBasis;

    /**
     * 权利依据
     */
    @TableField("rightBasis")
    private String rightBasis;

    /**
     * 最后更新时间
     */
    @TableField("laupTime")
    private LocalDateTime laupTime;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 地区代码
     */
    @TableField("areaCode")
    private String areaCode;

    /**
     * 地区代码名称
     */
    @TableField(exist = false)
    private String areaName;

    /**
     * 告知书内容
     */
    @TableField("hearingContent")
    private String hearingContent;

    @Override
    protected Serializable pkVal() {
        return this.hearingNoticeId;
    }

}
