package com.nanri.aiimage.modules.brand.model.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 lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("brand_crawl_tasks")
public class BrandCrawlTaskEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;
    private String filePaths;
    private String status;
    private Integer taskType;
    private String resultPaths;
    private String errorMessage;
    private Integer progressCurrent;
    private Integer progressTotal;

    @TableField("`desc`")
    private String desc;

    private String strategy;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
