package com.chinaweal.aiccs.crgs.entbase.entity;

import com.baomidou.mybatisplus.annotation.IdType;
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 <a href="https://blog.lroyia.top">lroyia</a>
 * @since 2021-10-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("e_ot_npermit")
public class EOtNpermit extends Model<EOtNpermit> {

    private static final long serialVersionUID=1L;

    @TableId(value = "LICID", type = IdType.ASSIGN_UUID)
    private String licid;

    @TableField("ACTYPE")
    private String actype;

    @TableField("PRIPID")
    private String pripid;

    @TableField("ENTNAME")
    private String entname;

    @TableField("UNISCID")
    private String uniscid;

    @TableField("REGNO")
    private String regno;

    @TableField("ORGCODE")
    private String orgcode;

    @TableField("TAXID")
    private String taxid;

    @TableField("INSCERCODE")
    private String inscercode;

    @TableField("SOCORGCODE")
    private String socorgcode;

    @TableField("LEREP")
    private String lerep;

    @TableField("CERTYPE")
    private String certype;

    @TableField("CERNO")
    private String cerno;

    @TableField("NAME")
    private String name;

    @TableField("AC_CERTYPE")
    private String acCertype;

    @TableField("AC_CERNO")
    private String acCerno;

    @TableField("LICNAME")
    private String licname;

    @TableField("LICNAME_CN")
    private String licnameCn;

    @TableField("LICNO")
    private String licno;

    @TableField("LICDECNAME")
    private String licdecname;

    @TableField("LICDECCODE")
    private String licdeccode;

    @TableField("LICTYPE")
    private String lictype;

    @TableField("LICTYPE_CN")
    private String lictypeCn;

    @TableField("LICITEM")
    private String licitem;

    @TableField("LICDECDATE")
    private LocalDateTime licdecdate;

    @TableField("VALIPERIFROM")
    private LocalDateTime valiperifrom;

    @TableField("VALIPERITO")
    private LocalDateTime valiperito;

    @TableField("LICANTHNO")
    private String licanthno;

    @TableField("LICANTH")
    private String licanth;

    @TableField("LICANTHUNISCID")
    private String licanthuniscid;

    @TableField("DATADEPT")
    private String datadept;

    @TableField("DATADEPTUNISCID")
    private String datadeptuniscid;

    @TableField("LICSTATE")
    private String licstate;

    @TableField("INVALIDDATE")
    private LocalDateTime invaliddate;

    @TableField("INVALIDREA")
    private String invalidrea;

    @TableField("REMARK")
    private String remark;

    @TableField("S_EXT_FROMNODE")
    private String sExtFromnode;

    @TableField("S_EXT_DATATIME")
    private LocalDateTime sExtDatatime;


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

}
