package com.weavi.entity;

import lombok.Data;

import javax.persistence.*;

@Entity
@Data
@Table(name="goods")
public class Goods {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private int id;

    private String name;

    private Double price;

    private int storage;

    private String description;
}
