mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-14 20:49:42 +03:00
18 lines
319 B
TypeScript
18 lines
319 B
TypeScript
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
|
|
|
|
@Entity()
|
|
export class ProxyInfo {
|
|
constructor(props?: Partial<ProxyInfo>) {
|
|
Object.assign(this, props);
|
|
}
|
|
|
|
@PrimaryGeneratedColumn("uuid")
|
|
public uuid!: string;
|
|
|
|
@Column()
|
|
public enabled: boolean;
|
|
|
|
@Column()
|
|
public text: string;
|
|
}
|