/*
 * @Author       : WuWei
 * @LastEditors  : WuWei
 * @Date         : 2022-04-18 10:45:51
 * @LastEditTime : 2022-04-18 10:58:10
 * @Description  : Do not edit
 */

class ScoreDetailModel {
  String? id;
  String? communityId;
  String? communityName;
  num? cleanScore;
  num? equipmentScore;
  num? orderScore;
  num? greeningScore;
  num? intelligentScore;
  num? globalScore;
  String? cleanEvaluate;
  String? orderEvaluate;
  String? equipmentEvaluate;
  String? greeningEvaluate;
  String? intelligentEvaluate;

  ScoreDetailModel({
    this.id,
    this.communityId,
    this.communityName,
    this.cleanScore,
    this.equipmentScore,
    this.orderScore,
    this.greeningScore,
    this.intelligentScore,
    this.globalScore,
    this.cleanEvaluate,
    this.orderEvaluate,
    this.equipmentEvaluate,
    this.greeningEvaluate,
    this.intelligentEvaluate,
  });

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

    id = map['id'];
    communityId = map['communityId'];
    communityName = map['communityName'];
    cleanScore = map['cleanScore'];
    equipmentScore = map['equipmentScore'];
    orderScore = map['orderScore'];
    greeningScore = map['greeningScore'];
    intelligentScore = map['intelligentScore'];
    globalScore = map['globalScore'];
    cleanEvaluate = map['cleanEvaluate'];
    orderEvaluate = map['orderEvaluate'];
    equipmentEvaluate = map['equipmentEvaluate'];
    greeningEvaluate = map['greeningEvaluate'];
    intelligentEvaluate = map['intelligentEvaluate'];
  }

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

    json['id'] = this.id;
    json['communityId'] = this.communityId;
    json['communityName'] = this.communityName;
    json['cleanScore'] = this.cleanScore;
    json['equipmentScore'] = this.equipmentScore;
    json['orderScore'] = this.orderScore;
    json['greeningScore'] = this.greeningScore;
    json['intelligentScore'] = this.intelligentScore;
    json['globalScore'] = this.globalScore;
    json['cleanEvaluate'] = this.cleanEvaluate;
    json['orderEvaluate'] = this.orderEvaluate;
    json['equipmentEvaluate'] = this.equipmentEvaluate;
    json['greeningEvaluate'] = this.greeningEvaluate;
    json['intelligentEvaluate'] = this.intelligentEvaluate;

    return json;
  }
}
