blob: 3e6c6bf8ed4290ba025143b0a8c5fa4f8806373f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import { Optional } from 'sequelize';
import { BaseModel } from './BaseModel';
export interface GuildModel {
id: string;
prefix: string;
}
export type GuildModelCreationAttributes = Optional<GuildModel, 'prefix'>;
export class Guild
extends BaseModel<GuildModel, GuildModelCreationAttributes>
implements GuildModel {
id: string;
prefix: string;
}
|