package cn.cslg.pas.domain;

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 lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 批量上传失败日志表
 *
 * @author 沈永艺
 * @since 2022-7-23
 */
@Data
@TableName("OS_IMPORT_ERROR_LOG")
@Accessors(chain = true)
public class ImportErrorLog implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 专利号
     */
    @TableField(value = "PATENT_NO")
    private String patentNo;

    /**
     * 错误信息
     */
    @TableField(value = "MISTAKE_MESSAGE")
    private String mistakeMessage;

    /**
     * 操作人ID
     */
    @TableField(value = "CREATE_USER_ID")
    private Integer createUserId;

    /**
     * 记录时间
     */
    @TableField(value = "CREATE_TIME")
    private String createTime;

    /**
     * 专题库ID
     */
    @TableField(value = "PROJECT_ID")
    private Integer projectId;

    /**
     * 专利ID
     */
    @TableField(value = "PATENT_ID")
    private Integer patentId;
}
