Skip to content

entities/Plat

Defined in: entities/Plat.ts:12

Platinum currency transaction ledger (maps to public.plat).

Records individual plat deposits and withdrawals for guild banking. Positive amounts are deposits; negative amounts are withdrawals. Managed via the /plat command by officers.

new Plat(): Plat

Plat

Amount: number

Defined in: entities/Plat.ts:22

Transaction amount in platinum (positive = deposit, negative = withdrawal).

Description: string | null

Defined in: entities/Plat.ts:34

Human-readable description of the transaction purpose.

DiscordId: string

Defined in: entities/Plat.ts:18

Discord snowflake ID of the member involved in this transaction.

Id: number

Defined in: entities/Plat.ts:14

TransactionTime: Date | null

Defined in: entities/Plat.ts:30

When the transaction occurred (defaults to current timestamp).