|
|
@ -39,7 +39,7 @@ public class Stocks { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Id |
|
|
|
@Id |
|
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY) |
|
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY) |
|
|
|
private int stock_id ; |
|
|
|
private Long stock_id ; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -52,7 +52,7 @@ public class Stocks { |
|
|
|
referencedColumnName = "stuff_id", |
|
|
|
referencedColumnName = "stuff_id", |
|
|
|
nullable = false |
|
|
|
nullable = false |
|
|
|
) |
|
|
|
) |
|
|
|
private int stuff_id; |
|
|
|
private Long stuff_id; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|