/// level : 0
/// thatExperience : 0
/// thatExperienceFormat : ""
/// nextExperience : 0
/// nextExperienceFormat : ""

class SCRoomContributeLevelRes {
  SCRoomContributeLevelRes({
    num? level,
    String? thatExperience,
    String? thatExperienceFormat,
    num? thisWeekAmount,
    String? thisWeekIntegral,
    String? nextExperience,
    String? nextExperienceFormat,
  }) {
    _level = level;
    _thatExperience = thatExperience;
    _thatExperienceFormat = thatExperienceFormat;
    _thisWeekAmount = thisWeekAmount;
    _thisWeekIntegral = thisWeekIntegral;
    _nextExperience = nextExperience;
    _nextExperienceFormat = nextExperienceFormat;
  }

  SCRoomContributeLevelRes.fromJson(dynamic json) {
    _level = json['level'];
    _thatExperience = json['thatExperience'];
    _thatExperienceFormat = json['thatExperienceFormat'];
    _thisWeekAmount = json['thisWeekAmount'];
    _thisWeekIntegral = json['thisWeekIntegral'];
    _nextExperience = json['nextExperience'];
    _nextExperienceFormat = json['nextExperienceFormat'];
  }

  num? _level;
  num? _thisWeekAmount;
  String? _thatExperience;
  String? _thatExperienceFormat;
  String? _thisWeekIntegral;
  String? _nextExperience;
  String? _nextExperienceFormat;

  SCRoomContributeLevelRes copyWith({
    num? level,
    num? thisWeekAmount,
    String? thatExperience,
    String? thatExperienceFormat,
    String? thisWeekIntegral,
    String? nextExperience,
    String? nextExperienceFormat,
  }) => SCRoomContributeLevelRes(
    level: level ?? _level,
    thisWeekAmount: thisWeekAmount ?? _thisWeekAmount,
    thatExperience: thatExperience ?? _thatExperience,
    thatExperienceFormat: thatExperienceFormat ?? _thatExperienceFormat,
    thisWeekIntegral: thisWeekIntegral ?? _thisWeekIntegral,
    nextExperience: nextExperience ?? _nextExperience,
    nextExperienceFormat: nextExperienceFormat ?? _nextExperienceFormat,
  );

  num? get level => _level;

  num? get thisWeekAmount => _thisWeekAmount;

  String? get thatExperience => _thatExperience;

  String? get thatExperienceFormat => _thatExperienceFormat;

  String? get thisWeekIntegral => _thisWeekIntegral;

  String? get nextExperience => _nextExperience;

  String? get nextExperienceFormat => _nextExperienceFormat;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['level'] = _level;
    map['thatExperience'] = _thatExperience;
    map['thatExperienceFormat'] = _thatExperienceFormat;
    map['thisWeekAmount'] = _thisWeekAmount;
    map['thisWeekIntegral'] = _thisWeekIntegral;
    map['nextExperience'] = _nextExperience;
    map['nextExperienceFormat'] = _nextExperienceFormat;
    return map;
  }
}
