mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-18 23:09:59 +00:00
18 lines
329 B
TypeScript
18 lines
329 B
TypeScript
import { Column, Entity, PrimaryColumn } from "typeorm";
|
|
|
|
@Entity("persisted_data")
|
|
export class PersistedData {
|
|
@Column()
|
|
@PrimaryColumn()
|
|
guild_id: string;
|
|
|
|
@Column()
|
|
@PrimaryColumn()
|
|
user_id: string;
|
|
|
|
@Column("simple-array") roles: string[];
|
|
|
|
@Column() nickname: string;
|
|
|
|
@Column() is_voice_muted: number;
|
|
}
|