create admins endpoint

This commit is contained in:
Errormacr
2023-11-18 20:41:14 +03:00
parent 6bf6886826
commit 5c0b94e09e
59 changed files with 704 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
import { Column, Entity, PrimaryColumn } from 'typeorm';
@Entity()
export class Admin {
constructor(props?: Partial<Admin>) {
Object.assign(this, props);
}
@PrimaryColumn()
public id!: string;
}