export interface ICommandRecord { roomNumber: string; gameId: number; userId: string; type: string; pot: number; commonCard: string; handCard?: string; gameStatus: number; command: string; counter: number; } export interface ICommandRecordService { findById(gid: number): Promise; findByRoomNumber(gameId: number): Promise; add(commandRecord: ICommandRecord): Promise; }