@ -17,8 +17,8 @@ import java.time.LocalDate;
@Data
public class StockDTO {
private int stock_id;
private int stuff_id;
private Long stock_id;
private Long stuff_id;
private Long user_id;
private int amount;
private int price;
@ -39,7 +39,7 @@ public class Stocks {
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int stock_id ;
private Long stock_id ;
/**
@ -52,7 +52,7 @@ public class Stocks {
referencedColumnName = "stuff_id",
nullable = false
)