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.
18 lines (13 loc) • 482 B
text/typescript
import { Entity, PrimaryGeneratedColumn, Column, OneToOne } from "typeorm";
import { VentureEventData } from "./venture-event.data";
({ name: "event_contact" })
export class EventContactData {
("uuid")
id: string;
("varchar", { nullable: true })
phoneNumber?: string;
("varchar", { nullable: true })
email?: string;
(() => VentureEventData, (ventureEvent) => ventureEvent.contact)
event?: VentureEventData;
}