package com.chinaweal.aiccs.aiccs.annual.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 sh
 * @since 2021-10-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(schema = "crgs",value = "e_pub_objection")
public class EPubObjection extends Model<EPubObjection> {

    private static final long serialVersionUID=1L;

      @TableId("OBJID")
    private String objid;

    @TableField("ENTNAME")
    private String entname;

    @TableField("USERID")
    private String userid;

    @TableField("PRIPID")
    private String pripid;

    @TableField("UNISCID")
    private String uniscid;

    @TableField("REGNO")
    private String regno;

    @TableField("REGORG")
    private String regorg;

    @TableField("REGORG_CN")
    private String regorgCn;

    @TableField("OBJECTION_MODULE_ID")
    private String objectionModuleId;

    @TableField("OBJECTION_MODULE")
    private String objectionModule;

    @TableField("OBJECTION_NAME")
    private String objectionName;

    @TableField("OBJECTION_VALUE")
    private String objectionValue;

    @TableField("OBJECTION_DETAIL")
    private String objectionDetail;

    @TableField("OBJECTION_TIME")
    private LocalDateTime objectionTime;

    @TableField("USER_NAME")
    private String userName;

    @TableField("USER_CARD")
    private String userCard;

    @TableField("USER_MOBILE")
    private String userMobile;

    @TableField("USER_EMAIL")
    private String userEmail;

    @TableField("USER_ADDR")
    private String userAddr;

    @TableField("DISPOSE")
        private String dispose;

    @TableField("RESULT")
    private String result;

    @TableField("RESULT_TIME")
    private LocalDateTime resultTime;

    @TableField("ACCEPT_UNIT")
    private String acceptUnit;

    @TableField("ACCEPT_UNIT_CN")
    private String acceptUnitCn;

    @TableField("OBJ_NODENUM")
    private String objNodenum;

    @TableField("S_EXT_FROMNODE")
    private String sExtFromnode;

    @TableField("S_EXT_DATATIME")
    private LocalDateTime sExtDatatime;


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

}
