This repository has been archived on 2025-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
mojotrollz-app/api/db/model/Realmcharacters.ts

20 lines
489 B
TypeScript

import { Column, Entity, Index } from "typeorm";
@Index("acctid", ["acctid"], {})
@Entity("realmcharacters", { schema: "tbcrealmd" })
export class Realmcharacters {
@Column("int", {
primary: true,
name: "realmid",
unsigned: true,
default: () => "'0'",
})
realmid: number;
@Column("bigint", { primary: true, name: "acctid", unsigned: true })
acctid: string;
@Column("tinyint", { name: "numchars", unsigned: true, default: () => "'0'" })
numchars: number;
}