package com.erp.skumatch.entity;

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

@Data
@TableName("sku_match_record")
public class SkuMatchRecord {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long platformSkuId;
    private String platformSkuCode;
    private String platformSkuName;
    private Long erpSkuId;
    private String erpSkuCode;
    private String erpSkuName;
    private String matchType;
    private Long matchRuleId;
    private BigDecimal confidence;
    private Integer matched;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}
