package com.nanri.aiimage.modules.task.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("biz_file_result")
public class FileResultEntity {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long taskId;
    private String moduleType;
    private String sourceFilename;
    private String sourceFileUrl;
    private String resultFilename;
    private String resultFileUrl;
    private Long resultFileSize;
    private String resultContentType;
    private Integer rowCount;
    private Integer success;
    private String errorMessage;
    private Long userId;
    private LocalDateTime createdAt;
}
