mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-14 20:49:42 +03:00
13 lines
222 B
TypeScript
13 lines
222 B
TypeScript
import { Column, Entity, PrimaryColumn } from 'typeorm';
|
|
|
|
@Entity()
|
|
export class Admin {
|
|
constructor(props?: Partial<Admin>) {
|
|
Object.assign(this, props);
|
|
}
|
|
|
|
@PrimaryColumn()
|
|
public id!: string;
|
|
|
|
}
|