

class Room():
    
    def __init__(self, code, size, price, longitude, latitude):
        self.code = code
        self.size = size
        self.price = price
        self.longitude = longitude
        self.latitude = latitude

    @classmethod
    def from_dict(cls, adict):
        return cls(
                code = adict['code'],
                size = adict['size'],
                price = adict['price'],
                longitude = adict['longitude'],
                latitude = adict['latitude']
                )

    def to_dict(self):
        return {
                'code': self.code,
                'size': self.size,
                'price': self.price,
                'longitude': self.longitude,
                'latitude': self.latitude
                }
    
    def __eq__(self, other):
        return self.to_dict() == other.to_dict()

7e81f7030b69c3836e25c84857094db502fa2f77
class Room:
    <mask token>

    @classmethod
    def from_dict(cls, adict):
        return cls(code=adict['code'], size=adict['size'], price=adict[
            'price'], longitude=adict['longitude'], latitude=adict['latitude'])
    <mask token>
    <mask token>

class Room:
    <mask token>

    @classmethod
    def from_dict(cls, adict):
        return cls(code=adict['code'], size=adict['size'], price=adict[
            'price'], longitude=adict['longitude'], latitude=adict['latitude'])
    <mask token>

    def __eq__(self, other):
        return self.to_dict() == other.to_dict()

class Room:
    <mask token>

    @classmethod
    def from_dict(cls, adict):
        return cls(code=adict['code'], size=adict['size'], price=adict[
            'price'], longitude=adict['longitude'], latitude=adict['latitude'])

    def to_dict(self):
        return {'code': self.code, 'size': self.size, 'price': self.price,
            'longitude': self.longitude, 'latitude': self.latitude}

    def __eq__(self, other):
        return self.to_dict() == other.to_dict()

class Room:

    def __init__(self, code, size, price, longitude, latitude):
        self.code = code
        self.size = size
        self.price = price
        self.longitude = longitude
        self.latitude = latitude

    @classmethod
    def from_dict(cls, adict):
        return cls(code=adict['code'], size=adict['size'], price=adict[
            'price'], longitude=adict['longitude'], latitude=adict['latitude'])

    def to_dict(self):
        return {'code': self.code, 'size': self.size, 'price': self.price,
            'longitude': self.longitude, 'latitude': self.latitude}

    def __eq__(self, other):
        return self.to_dict() == other.to_dict()



class Room():
    
    def __init__(self, code, size, price, longitude, latitude):
        self.code = code
        self.size = size
        self.price = price
        self.longitude = longitude
        self.latitude = latitude

    @classmethod
    def from_dict(cls, adict):
        return cls(
                code = adict['code'],
                size = adict['size'],
                price = adict['price'],
                longitude = adict['longitude'],
                latitude = adict['latitude']
                )

    def to_dict(self):
        return {
                'code': self.code,
                'size': self.size,
                'price': self.price,
                'longitude': self.longitude,
                'latitude': self.latitude
                }
    
    def __eq__(self, other):
        return self.to_dict() == other.to_dict()
