npm run format
This commit is contained in:
@ -1,21 +1,21 @@
|
||||
import { Entity, ManyToOne, PrimaryKey, Property } from '@mikro-orm/core';
|
||||
import { Character } from './character';
|
||||
import { Zone } from './zone';
|
||||
import { Entity, ManyToOne, PrimaryKey, Property } from '@mikro-orm/core'
|
||||
import { Character } from './character'
|
||||
import { Zone } from './zone'
|
||||
|
||||
@Entity()
|
||||
export class Chat {
|
||||
@PrimaryKey()
|
||||
id!: number;
|
||||
id!: number
|
||||
|
||||
@ManyToOne(() => Character)
|
||||
character!: Character;
|
||||
character!: Character
|
||||
|
||||
@ManyToOne(() => Zone)
|
||||
zone!: Zone;
|
||||
zone!: Zone
|
||||
|
||||
@Property()
|
||||
message!: string;
|
||||
message!: string
|
||||
|
||||
@Property()
|
||||
createdAt = new Date();
|
||||
}
|
||||
createdAt = new Date()
|
||||
}
|
||||
|
Reference in New Issue
Block a user