Add Admin module and entity

This commit is contained in:
Errormacr
2023-11-20 11:45:25 +03:00
parent f424d6ffe6
commit c53b37590a
7 changed files with 87 additions and 3 deletions

View 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;
}