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_task")
public class FileTaskEntity {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String taskNo;
    private String moduleType;
    private String taskMode;
    private String status;
    private Integer sourceFileCount;
    private Integer successFileCount;
    private Integer failedFileCount;
    private String requestJson;
    private String resultJson;
    private String errorMessage;
    private String createdBy;
    private Long userId;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private LocalDateTime finishedAt;
}
