package com.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

@Data
@TableName("t_product")
public class ProductEntity {
    @TableId
    private Integer id;

    private String productName;
    private Integer productPrice;
    @Version
    private Integer version;

}
