Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

convert yaml to nbt #37

Closed
wants to merge 3 commits into from
Closed

convert yaml to nbt #37

wants to merge 3 commits into from

Conversation

cyilin
Copy link
Contributor

@cyilin cyilin commented Dec 15, 2017

No description provided.

@cyilin cyilin requested review from Librazy and RecursiveG December 15, 2017 12:26
import java.util.UUID;

@DataTable("temporary_storage_v2")
public class TempStorageRepo_v2 {
Copy link
Member

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

Copy link
Contributor

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")
Copy link
Member

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.

Copy link
Member

@RecursiveG RecursiveG left a 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.

@RecursiveG
Copy link
Member

@cyilin cyilin closed this Feb 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants