class EvaluationAttribute {
  late int evaluationAttrId;
  late int evaluationId;
  late String name;
  late String sex;
  late int ageMin;
  late int ageMax;
  late double valueMin;
  late double valueMax;
  late String evaluationText;
  String? suggestion;

  EvaluationAttribute.fromJson(Map json) {
    evaluationAttrId = json['evaluationAttrId'];
    evaluationId = json['evaluationId'];
    name = json['name'];
    sex = json['sex'];
    ageMin = json['ageMin'];
    ageMax = json['ageMax'];
    valueMin = json['valueMin'];
    valueMax = json['valueMax'];
    evaluationText = json['evaluation_text'];
    suggestion = json['suggestion'];
  }

  @override
  String toString() {
    Map<String, dynamic> json = {
      'evaluationAttrId': this.evaluationAttrId,
      'evaluationId': this.evaluationId,
      'name': this.name,
      'sex': this.sex,
      'ageMin': this.ageMin,
      'ageMax': this.ageMax,
      'valueMin': this.valueMin,
      'valueMax': this.valueMax,
      'evaluation_text': this.evaluationText,
    };
    return json.toString();
  }
}
