Database

Core Entities

User Entity

- id: Long (Primary Key)
- username: String (Unique)
- email: String (Unique)
- password: String (Encoded)
- fullName: String
- phoneNumber: String
- address: Text
- role: Enum (USER, ADMIN)
- isActive: Boolean
- createdAt: DateTime
- updatedAt: DateTime

Product Entity

- id: Long (Primary Key)
- productId: String (Unique)
- title: String
- description: Text
- price: BigDecimal
- status: Enum (AVAILABLE, SOLD, RESERVED)
- accountLevel: Integer
- gameServer: String
- featuredCharacters: String (JSON)
- images: String (JSON Array)
- type: Enum (STARTER, PREMIUM, WHALE)
- lastUpdateDate: DateTime
- createdAt: DateTime
- updatedAt: DateTime

Order Entity

Character Entity (Wiki)

Last updated