22 lines
798 B
TypeScript
22 lines
798 B
TypeScript
import { EntitySchema } from '@mikro-orm/core';
|
|
import { BaseEntity } from '../../core/entities/base.entity';
|
|
export declare class Gift extends BaseEntity {
|
|
name: string;
|
|
description?: string;
|
|
imageUrl?: string;
|
|
price?: number;
|
|
experience?: boolean;
|
|
status: string;
|
|
ownerId?: string;
|
|
}
|
|
export declare const GiftSchema: EntitySchema<Gift, never, import("@mikro-orm/core").EntityCtor<Gift>>;
|
|
export declare class GiftContribution extends BaseEntity {
|
|
giftId: string;
|
|
contributorName: string;
|
|
contributorEmail?: string;
|
|
amount: number;
|
|
type: string;
|
|
status: string;
|
|
}
|
|
export declare const GiftContributionSchema: EntitySchema<GiftContribution, never, import("@mikro-orm/core").EntityCtor<GiftContribution>>;
|
|
//# sourceMappingURL=gift.entity.d.ts.map
|