first commit

This commit is contained in:
Swapnil
2024-12-06 01:01:25 +05:30
commit 8a60e520c6
29 changed files with 2595 additions and 0 deletions

18
src/entities/User.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Entity, PrimaryGeneratedColumn, Column } from "typeorm"
@Entity()
export class User {
@PrimaryGeneratedColumn()
id!: number
@Column()
firstName!: string
@Column()
lastName!: string
@Column()
age!: number
}