package com.erp.skumatch.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("sku_match_task")
public class SkuMatchTask {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String taskId;
    private String taskType;
    private String platform;
    private String status;
    private Integer totalCount;
    private Integer matchedCount;
    private Integer failedCount;
    private String errorMsg;
    private LocalDateTime startedAt;
    private LocalDateTime completedAt;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}
