style: Format boilerplate
This commit is contained in:
parent
9b52b43f65
commit
788e1642d1
26 changed files with 686 additions and 564 deletions
|
@ -1,13 +1,13 @@
|
|||
import { Entity, OneToOne, PrimaryKey, Property } from '@mikro-orm/core'
|
||||
import { Entity, PrimaryKey, Property } from '@mikro-orm/core';
|
||||
|
||||
@Entity()
|
||||
export class User {
|
||||
@PrimaryKey({ type: 'number' })
|
||||
id!: number;
|
||||
@PrimaryKey({ type: 'number' })
|
||||
id!: number;
|
||||
|
||||
@Property()
|
||||
firstName: string = '';
|
||||
@Property()
|
||||
firstName: string = '';
|
||||
|
||||
@Property()
|
||||
lastName: string = '';
|
||||
}
|
||||
@Property()
|
||||
lastName: string = '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue