summary refs log tree commit diff
path: root/src/util/entities/ClientRelease.ts
blob: ff7ff71683c7669bfd99e4ee4914a312256df6ad (plain) (blame)
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;
}