1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
import { Column, Entity } from "typeorm"; import { BaseClass } from "./BaseClass"; @Entity("client_release") export class Release extends BaseClass { @Column() name: string; @Column() pub_date: Date; @Column() url: string; @Column() platform: string; @Column() enabled: boolean; @Column({ nullable: true }) notes?: string; }