package com.chinaweal.aiccs.aiccs.abnormal.entity;

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

/**
 * <p>
 * 拟列异线索关联名单
 * </p>
 *
 * @author sh
 * @since 2022-08-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("toinroster")
public class Toinroster extends Model<Toinroster> {

    private static final long serialVersionUID=1L;

    @TableId("id")
    private String id;

    /**
     * 线索id
     */
    @TableField("toIncludeId")
    private String toIncludeId;

    /**
     * 主体主键id
     */
    private String pripid;

    /**
     * 社会统一码
     */
    private String uniscid;

    /**
     * 注册号
     */
    private String regno;

    /**
     * 企业（机构）名称
     */
    @TableField("ENTNAME")
    private String entname;

    /**
     * 登记机关
     */
    @TableField("regOrg")
    private String regOrg;

    /**
     * 受理机关
     */
    @TableField("acceptOrg")
    private String acceptOrg;


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

}
