package com.erp.skumatch.entity;

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

@Data
@TableName("erp_sku")
public class ErpSku {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String skuCode;
    private String skuName;
    private String barcode;
    private String category;
    private String brand;
    private BigDecimal price;
    private BigDecimal costPrice;
    private Integer stock;
    private String status;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}
