diff options
Diffstat (limited to 'src/util/entities/Ban.ts')
-rw-r--r-- | src/util/entities/Ban.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/Ban.ts b/src/util/entities/Ban.ts index 2b3b688b..1693cd40 100644 --- a/src/util/entities/Ban.ts +++ b/src/util/entities/Ban.ts @@ -17,12 +17,12 @@ */ import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm"; -import { EntityCache } from "../cache"; +import { BaseClass } from "./BaseClass"; import { Guild } from "./Guild"; import { User } from "./User"; @Entity("bans") -export class Ban extends EntityCache { +export class Ban extends BaseClass { @Column({ nullable: true }) @RelationId((ban: Ban) => ban.user) user_id: string; |