export interface Room {
    rId: number;
    rName: string;
    rType : string;
    rPic: string;
    roomLimit: number;
    rDesc: string;
}
export class MyRoom implements Room{
    rId: number;
    rName: string;
    rType : string;
    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 = '';
        this.rPic = 'assets/img/nopic.jpg';
        this.roomLimit = 0;
        this.rDesc = '';
    }
}