mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-14 20:49:42 +03:00
Add Admin module and entity
This commit is contained in:
11
backend/libs/database/admin.entity.ts
Normal file
11
backend/libs/database/admin.entity.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Entity, PrimaryColumn } from 'typeorm';
|
||||
|
||||
@Entity()
|
||||
export class Admin {
|
||||
constructor(props?: Partial<Admin>) {
|
||||
Object.assign(this, props);
|
||||
}
|
||||
|
||||
@PrimaryColumn()
|
||||
public id!: string;
|
||||
}
|
||||
Reference in New Issue
Block a user