echadospalante-core
Version:
This package contains the core of the echadospalante project, it contains the domain entities, helpers, and other utilities that are shared between the different services.
36 lines (29 loc) • 756 B
text/typescript
import {
Entity,
Unique,
PrimaryGeneratedColumn,
CreateDateColumn,
Column,
ManyToOne,
JoinColumn,
} from "typeorm";
import { UserData } from "./user.data";
import { VentureData } from "./venture.data";
export class VentureSubscriptionData {
id: string;
createdAt: Date;
subscriberId: string;
ventureId: string;
subscriber?: UserData;
venture?: VentureData;
}