Files
Sklearn/common/seawater.py
T
2019-05-07 11:33:15 +08:00

25 lines
695 B
Python

# -*- coding: UTF-8 -*-
class Seawater(object):
"""房源实体类"""
def __init__(self, city, region, district_name, area, avg_price, total_price, title,
room, root, url, p_date, fitment, direction, cat, rent_type):
self.city = city
self.region = region
self.district_name = district_name
self.area = area
self.avg_price = avg_price
self.total_price = total_price
self.title = title
self.root = root
self.room = room
self.url = url
self.p_date = p_date
self.fitment = fitment
self.direction = direction
self.cat = cat
self.rent_type = rent_type