import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity('scratchoff_payouts')
export class ScratchoffPayoutEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column() account_id: number;
    @Column() character_id: number;
    @Column() item_id: number;
    @Column() amount: number;
    @Column({ type: 'datetime', default: () => 'CURRENT_TIMESTAMP' }) date: Date;
}
