npm run format

This commit is contained in:
2024-12-25 02:06:58 +01:00
parent c35e27799e
commit b4989aac26
28 changed files with 252 additions and 243 deletions

View File

@ -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()
}