2022-11-24 02:12:52 +01:00
|
|
|
import { Entity, PrimaryColumn, Column } from "typeorm";
|
|
|
|
|
|
|
|
@Entity()
|
|
|
|
export class GuildSetting {
|
|
|
|
@PrimaryColumn("varchar")
|
|
|
|
id!: string;
|
|
|
|
|
|
|
|
@Column("varchar", { nullable: true, default: null })
|
|
|
|
notificationChannelID!: string | null;
|
|
|
|
|
2022-11-24 15:36:33 +01:00
|
|
|
@Column("timestamp", { nullable: true, default: null })
|
2022-11-24 02:12:52 +01:00
|
|
|
isPremiumUntil!: Date | null;
|
2022-11-25 17:16:10 +01:00
|
|
|
|
|
|
|
@Column("boolean", { default: false })
|
|
|
|
preserveDataOnGuildLeave!: boolean
|
2022-11-24 02:12:52 +01:00
|
|
|
}
|