@Override
    public Object getValueAt(int i, int i1) {
        Room r = rooms.get(i);
        switch (i1) {
            case 0:
                return r.getId();
            case 1:
                return r.getName();
            case 2:
                return r.getDetail();
            case 3:
                return r.getPrice();
            case 4:
                return r.getStatus();
            default:
                return null;
        }
    }