forked from noxious/server
Renamed folder utilities > application, added baseEntity class, updated baseRepo class, removed prisma helper
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
import { Collection, Entity, Enum, ManyToOne, OneToMany, PrimaryKey, Property } from '@mikro-orm/core'
|
||||
import { BaseEntity } from '#application/bases/baseEntity'
|
||||
import { Sprite } from './sprite'
|
||||
import { CharacterItem } from './characterItem'
|
||||
import { ItemType, ItemRarity } from '#utilities/enums'
|
||||
import { ItemType, ItemRarity } from '#application/enums'
|
||||
|
||||
@Entity()
|
||||
export class Item {
|
||||
export class Item extends BaseEntity {
|
||||
@PrimaryKey()
|
||||
id!: string
|
||||
|
||||
|
Reference in New Issue
Block a user