Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (15 sloc) 477 Bytes
import {Entity, Column, PrimaryGeneratedColumn, ManyToOne} from "typeorm";
import {CatalogEdition} from "./CatalogEdition";
export class CatalogEntry {
id: number;
title: string;
author: string;
isPublished: boolean;
@ManyToOne(type => CatalogEdition, catalogEdition => catalogEdition.catalogEntries)
catalogEdition: CatalogEdition;
You can’t perform that action at this time.