mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-20 16:25:03 +00:00
17 lines
354 B
TypeScript
17 lines
354 B
TypeScript
import { Column, Entity, PrimaryColumn } from "typeorm";
|
|
|
|
@Entity("counter_trigger_states")
|
|
export class CounterTriggerState {
|
|
@Column({ type: "bigint", generated: "increment" })
|
|
@PrimaryColumn()
|
|
id: string;
|
|
|
|
@Column()
|
|
trigger_id: number;
|
|
|
|
@Column({ type: "bigint" })
|
|
channel_id: string;
|
|
|
|
@Column({ type: "bigint" })
|
|
user_id: string;
|
|
}
|