Files
TexasPokerGame/server/src/interface/ICommandRecord.ts
T
2020-06-26 00:31:45 +08:00

19 lines
439 B
TypeScript

export interface ICommandRecord {
roomNumber: string;
gameId: number;
userId: string;
type: string;
pot: number;
commonCard: string;
gameStatus: number;
command: string;
counter: number;
}
export interface ICommandRecordService {
findById(gid: number): Promise<ICommandRecord>;
findByRoomNumber(roomNumber: number): Promise<ICommandRecord[]>;
add(commandRecord: ICommandRecord): Promise<any>;
}