-
Notifications
You must be signed in to change notification settings - Fork 9
Conversation
import java.util.UUID; | ||
|
||
@DataTable("temporary_storage_v2") | ||
public class TempStorageRepo_v2 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may use some more descriptive name like TempNbtStorageRepo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or use something like NbtTempStorageRepo
, other than append v2
should be better.
this.amount = (long) amount; | ||
} | ||
|
||
@DataColumn("unit_price") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NC Database should be able to process Double correctly.
No need to use getter/setter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as NC database can process the java types correctly, we don't need those getter/setter.
Just set the fields as public.
|
No description provided.