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