Última atividade 1729143604

TypeORM-readme-1.ts Bruto
1import { Entity, PrimaryGeneratedColumn, Column } from "typeorm"
2
3@Entity()
4export class User {
5 @PrimaryGeneratedColumn()
6 id: number
7
8 @Column()
9 firstName: string
10
11 @Column()
12 lastName: string
13
14 @Column()
15 age: number
16}