mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-18 23:09:59 +00:00
20 lines
327 B
TypeScript
20 lines
327 B
TypeScript
import { Column, Entity, PrimaryColumn } from "typeorm";
|
|
|
|
@Entity("counter_values")
|
|
export class CounterValue {
|
|
@Column()
|
|
@PrimaryColumn()
|
|
id: string;
|
|
|
|
@Column()
|
|
counter_id: number;
|
|
|
|
@Column({ type: "bigint" })
|
|
channel_id: string;
|
|
|
|
@Column({ type: "bigint" })
|
|
user_id: string;
|
|
|
|
@Column()
|
|
value: number;
|
|
}
|