package com.ruoyi.dimp.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专利授权导入记录对象 d_patent_auth_info_pre_imp
 *
 * @author ruoyi
 * @date 2023-03-19
 */
@Data
@TableName("d_patent_auth_info_pre_imp")
public class DPatentAuthInfoPreImp extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	private String impBatch;
	/** id */
	private Long id;

	/** 导入时间 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Excel(name = "导入时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date preImpTime;

	/** 文件名 */
	@Excel(name = "文件名")
	private String fileName;

	/** 访问路径 */
	@Excel(name = "访问路径")
	private String fileUrl;

	private String filePath;

	/** 状态 */
	@Excel(name = "状态")
	private String impState;

	/** 租户编号 */
	@Excel(name = "租户编号")
	private String tenantNo;
	
	@Excel(name = "总条数")
	private Long totalNum;

	/** 插入条数 */
	@Excel(name = "插入条数")
	private Long insertNum;

	/** 更新条数 */
	@Excel(name = "更新条数")
	private Long updateNum;

	/** 跳过条数 */
	@Excel(name = "跳过条数")
	private Long skipNum;

	/** 出错条数 */
	@Excel(name = "出错条数")
	private Long errorNum;

	/** 数据来源 */
	@Excel(name = "数据来源")
	private String dataSrc;

	/** 原因 */
	@Excel(name = "原因")
	private String errReason;

	/** 源文件名 */
	@Excel(name = "源文件名")
	private String resFileName;

	/** 源文件路径 */
	@Excel(name = "源文件路径")
	private String resFileUrl;

	private Long useTime;
}
