package com.erp.skumatch.entity;

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

@Data
@TableName("sku_match_rule")
public class SkuMatchRule {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Integer priority;
    private String platform;
    private String field;
    private String pattern;
    private String replacePattern;
    private String matchType;
    private Integer enabled;
    private Integer matchCount;
    private Integer successCount;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}
