3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 16:25:03 +00:00
zeppelin/backend/src/data/entities/CounterTriggerState.ts

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;
}