24 lines
343 B
TypeScript
24 lines
343 B
TypeScript
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;
|
|
}
|