forked from noxious/server
Renamed folder utilities > application, added baseEntity class, updated baseRepo class, removed prisma helper
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import { Collection, Entity, ManyToOne, OneToMany, PrimaryKey, Property } from '@mikro-orm/core'
|
||||
import { BaseEntity } from '#application/bases/baseEntity'
|
||||
import { User } from './user'
|
||||
import { Zone } from './zone'
|
||||
import { CharacterType } from './characterType'
|
||||
@ -8,7 +9,7 @@ import { CharacterEquipment } from './characterEquipment'
|
||||
import { Chat } from './chat'
|
||||
|
||||
@Entity()
|
||||
export class Character {
|
||||
export class Character extends BaseEntity {
|
||||
@PrimaryKey()
|
||||
id!: number
|
||||
|
||||
|
Reference in New Issue
Block a user