mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-07-05 22:31:23 +08:00
add BossActiveStatusRecord, ChatStartupLog, UserInfo entities to distinguish login user and record boss active status.
This commit is contained in:
13
packages/sqlite-plugin/src/entity/UserInfo.ts
Normal file
13
packages/sqlite-plugin/src/entity/UserInfo.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Entity, PrimaryGeneratedColumn, Column } from "typeorm";
|
||||
|
||||
@Entity()
|
||||
export class UserInfo {
|
||||
@PrimaryGeneratedColumn()
|
||||
id: number;
|
||||
|
||||
@Column()
|
||||
encryptedUserId: string;
|
||||
|
||||
@Column()
|
||||
name: string;
|
||||
}
|
||||
Reference in New Issue
Block a user