/*
 * @Author: WuWei
 * @Date: 2020-07-02 09:46:05
 * @LastEditors: ChenYaJin
 * @LastEditTime: 2022-12-19 09:29:42
 * @Description:
 */

class RepairListModel {
  String? id;
  String? description;
  String? regionName;
  String? regionSortName;
  String? name;
  String? mobile;
  String? headPortrait;
  dynamic buildName;
  dynamic unitName;
  String? houseName;
  dynamic photos;
  String? statusName;
  String? status;
  String? createAt;
  String? backTrackingAt;
  dynamic process;
  dynamic evaluationScore;
  dynamic dealPerson;
  dynamic dealPersonMobile;
  dynamic rejectReason;
  dynamic remark;
  String? updateAt;
  num? noReadNum;
  String? communityOrHouseName;
  dynamic communityName;
  dynamic address;
  dynamic qrName;
  String? serviceFeeId;
  bool? paidService; // 是否有偿服务
 // 是否有偿服务
  String? businessTypeName;
  String? sortName;
  String? tag;
  String? tagMsg;
  String? internalSortId;
  String? internalSortName;
  String? communityId;

  RepairListModel({
    this.businessTypeName,
    this.sortName,
    this.id,
    this.description,
    this.regionName,
    this.regionSortName,
    this.name,
    this.mobile,
    this.headPortrait,
    this.buildName,
    this.unitName,
    this.houseName,
    this.photos,
    this.statusName,
    this.status,
    this.createAt,
    this.backTrackingAt,
    this.process,
    this.evaluationScore,
    this.dealPerson,
    this.dealPersonMobile,
    this.rejectReason,
    this.remark,
    this.updateAt,
    this.noReadNum,
    this.communityOrHouseName,
    this.communityName,
    this.address,
    this.qrName,
    this.serviceFeeId,
    this.paidService,
    this.tag,
    this.tagMsg,
    this.internalSortId,
    this.internalSortName,
    this.communityId,
  });

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

    id = map['id'];
    businessTypeName = map['businessTypeName'];
    sortName = map['sortName'];
    description = map['description'];
    regionName = map['regionName'];
    regionSortName = map['regionSortName'];
    name = map['name'];
    mobile = map['mobile'];
    headPortrait = map['headPortrait'];
    buildName = map['buildName'];
    unitName = map['unitName'];
    houseName = map['houseName'];
    photos = map['photos'];
    statusName = map['statusName'];
    status = map['status'];
    createAt = map['createAt'];
    backTrackingAt = map['backTrackingAt'];
    process = map['process'];
    evaluationScore = map['evaluationScore'];
    dealPerson = map['dealPerson'];
    dealPersonMobile = map['dealPersonMobile'];
    rejectReason = map['rejectReason'];
    remark = map['remark'];
    updateAt = map['updateAt'];
    noReadNum = map['noReadNum'];
    communityOrHouseName = map['communityOrHouseName'];
    communityName = map['communityName'];
    address = map['address'];
    qrName = map['qrName'];
    serviceFeeId = map['serviceFeeId'];
    tag = map['tag'];
    tagMsg = map['tagMsg'];
    paidService = map['paidService'] == null ? false : map['paidService'];
    internalSortId = map['internalSortId'];
    internalSortName = map['internalSortName'];
    communityId = map['communityId'];
  }

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

    json['id'] = this.id;
    json['businessTypeName'] = this.businessTypeName;
    json['sortName'] = this.sortName;
    json['description'] = this.description;
    json['regionName'] = this.regionName;
    json['regionSortName'] = this.regionSortName;
    json['name'] = this.name;
    json['mobile'] = this.mobile;
    json['headPortrait'] = this.headPortrait;
    json['buildName'] = this.buildName;
    json['unitName'] = this.unitName;
    json['houseName'] = this.houseName;
    json['photos'] = this.photos;
    json['statusName'] = this.statusName;
    json['status'] = this.status;
    json['createAt'] = this.createAt;
    json['backTrackingAt'] = this.backTrackingAt;
    json['process'] = this.process;
    json['evaluationScore'] = this.evaluationScore;
    json['dealPerson'] = this.dealPerson;
    json['dealPersonMobile'] = this.dealPersonMobile;
    json['rejectReason'] = this.rejectReason;
    json['remark'] = this.remark;
    json['updateAt'] = this.updateAt;
    json['noReadNum'] = this.noReadNum;
    json['communityOrHouseName'] = this.communityOrHouseName;
    json['communityName'] = this.communityName;
    json['address'] = this.address;
    json['qrName'] = this.qrName;
    json['serviceFeeId'] = this.serviceFeeId;
    json['tag'] = this.tag;
    json['tagMsg'] = this.tagMsg;
    json['paidService'] = this.paidService == null ? false : this.paidService;
    json['internalSortId'] = this.internalSortId;
    json['internalSortName'] = this.internalSortName;
    json['communityId'] = this.communityId;

    return json;
  }
}
