mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-15 13:09:43 +03:00
feat: proxy services
This commit is contained in:
17
backend/libs/database/proxy_info.ts
Normal file
17
backend/libs/database/proxy_info.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user