/*
 * @Author: WuWei
 * @Date: 2020-06-05 11:18:23
 * @LastEditors: WuWei
 * @LastEditTime: 2020-06-05 14:54:50
 * @Description:
 */

class SearchHouseDetailModel {
  String? id;
  String? buildName;
  String? unitName;
  num? houseFloor;
  String? roomNo;
  String? type;
  num? buildArea;
  num? billingArea;
  num? communalArea;
  num? innerArea;
  String? useSituation;
  bool? isDecoration;
  bool? isDelivery;
  bool? isCheckIn;
  String? deliveryAt;
  bool? isSignSerProtocol;
  num? allocationMultiple;
  String? remark;

  SearchHouseDetailModel({
    this.id,
    this.buildName,
    this.unitName,
    this.houseFloor,
    this.roomNo,
    this.type,
    this.buildArea,
    this.billingArea,
    this.communalArea,
    this.innerArea,
    this.useSituation,
    this.isDecoration,
    this.isDelivery,
    this.isCheckIn,
    this.deliveryAt,
    this.isSignSerProtocol,
    this.allocationMultiple,
    this.remark,
  });

  SearchHouseDetailModel.fromJson(json) {
    Map<String, dynamic> map = Map.from(json ?? {});

    id = map['id'];
    buildName = map['buildName'];
    unitName = map['unitName'];
    houseFloor = map['houseFloor'];
    roomNo = map['roomNo'];
    type = map['type'];
    buildArea = map['buildArea'];
    billingArea = map['billingArea'];
    communalArea = map['communalArea'];
    innerArea = map['innerArea'];
    useSituation = map['useSituation'];
    isDecoration = map['isDecoration'];
    isDelivery = map['isDelivery'];
    isCheckIn = map['isCheckIn'];
    deliveryAt = map['deliveryAt'];
    isSignSerProtocol = map['isSignSerProtocol'];
    allocationMultiple = map['allocationMultiple'];
    remark = map['remark'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> json = Map<String, dynamic>();

    json['id'] = this.id;
    json['buildName'] = this.buildName;
    json['unitName'] = this.unitName;
    json['houseFloor'] = this.houseFloor;
    json['roomNo'] = this.roomNo;
    json['type'] = this.type;
    json['buildArea'] = this.buildArea;
    json['billingArea'] = this.billingArea;
    json['communalArea'] = this.communalArea;
    json['innerArea'] = this.innerArea;
    json['useSituation'] = this.useSituation;
    json['isDecoration'] = this.isDecoration;
    json['isDelivery'] = this.isDelivery;
    json['isCheckIn'] = this.isCheckIn;
    json['deliveryAt'] = this.deliveryAt;
    json['isSignSerProtocol'] = this.isSignSerProtocol;
    json['allocationMultiple'] = this.allocationMultiple;
    json['remark'] = this.remark;

    return json;
  }
}
