mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-15 04:59:42 +03:00
fix: prettier)
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
||||
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
|
||||
|
||||
@Entity()
|
||||
export class BotSettings {
|
||||
constructor(props?: Partial<BotSettings>) {
|
||||
Object.assign(this, props);
|
||||
}
|
||||
constructor(props?: Partial<BotSettings>) {
|
||||
Object.assign(this, props);
|
||||
}
|
||||
|
||||
@PrimaryGeneratedColumn('uuid')
|
||||
public uuid!: string;
|
||||
@PrimaryGeneratedColumn("uuid")
|
||||
public uuid!: string;
|
||||
|
||||
@Column({ type: 'text', array: true })
|
||||
public messageTimes!: string[];
|
||||
@Column({ type: "text", array: true })
|
||||
public messageTimes!: string[];
|
||||
|
||||
@Column()
|
||||
public channel!: string;
|
||||
@Column()
|
||||
public channel!: string;
|
||||
|
||||
@Column({ default: false })
|
||||
public isActive!: boolean;
|
||||
@Column({ default: false })
|
||||
public isActive!: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user