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.
38 lines (30 loc) • 768 B
text/typescript
import {
Column,
CreateDateColumn,
Entity,
JoinColumn,
ManyToOne,
PrimaryGeneratedColumn,
UpdateDateColumn,
} from "typeorm";
import { ContentType } from "../../../domain/common";
import { VenturePublicationData } from "./venture-publication.data";
export class PublicationContentData {
id: string;
type: ContentType;
content: string;
createdAt: Date;
updatedAt: Date;
publication: VenturePublicationData;
}