export interface Room {
    rId: number;
    rName: string;
    rType : number;
    rPic: string;
    roomLimit: number;
    rDesc: string;
}
export class MyRoom implements Room{
    rId: number;
    rName: string;
    rType : number;
    rPic: string;
    roomLimit: number;
    rDesc: string;
  static rName: any;
    constructor(init?: Room) {
        // Object.assign(this, init);
        this.rId = init?.rId!;
        this.rName = init?.rName!;
        this.rType = 0;
        this.rPic = 'assets/img/nopic.jpg';
        this.roomLimit = 0;
        this.rDesc = '';
    }
}