package com.yonge.cooleshow.biz.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yonge.cooleshow.common.enums.EImportType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 文件数据导入
 * 2023-04-21 13:54:11
 */
@Data
@ApiModel(" FileImportInfo-文件数据导入")
@TableName("file_import_info")
public class FileImportInfo implements Serializable {

    @ApiModelProperty("主键ID")
    @TableId(value = "id_",type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("数据类型") 
	@TableField(value = "data_type_")
    private EImportType dataType;

    @ApiModelProperty("导入文件名") 
	@TableField(value = "file_name_")
    private String fileName;

    @ApiModelProperty("导入文件地址") 
	@TableField(value = "import_url_")
    private String importUrl;

    @ApiModelProperty("导入总行数") 
	@TableField(value = "total_row_")
    private Integer totalRow;

    @ApiModelProperty("无效记录") 
	@TableField(value = "invalid_row_")
    private Integer invalidRow;

    @ApiModelProperty("数据入库") 
	@TableField(value = "insert_row_")
    private Integer insertRow;

    @ApiModelProperty("回执文件地址") 
	@TableField(value = "resp_url_")
    private String respUrl;

    @ApiModelProperty("导入帐号") 
	@TableField(value = "sys_acc_id_")
    private Long sysAccId;

    @ApiModelProperty("导入时间") 
	@TableField(value = "import_time_")
    private Date importTime;

    @ApiModelProperty("导入完成时间") 
	@TableField(value = "finish_time_")
    private Date finishTime;

    @ApiModelProperty("创建时间") 
	@TableField(value = "created_time")
    private Date createdTime;

}