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.
31 lines (24 loc) • 530 B
text/typescript
import {
Entity,
PrimaryGeneratedColumn,
Column,
CreateDateColumn,
UpdateDateColumn,
OneToOne,
} from "typeorm";
import { VentureData } from "./venture.data";
({ name: "venture_contact" })
export class VentureContactData {
("uuid")
id: string;
()
email: string;
()
phoneNumber: string;
()
createdAt: Date;
()
updatedAt: Date;
(() => VentureData, (venture) => venture.contact)
Venture?: VentureData;
}