/// userAllTaskDayCount : 0

class CountBo {
  CountBo({
    int? userAllTaskDayCount,
    int? userAllTaskWeekCount,
    int? userAllTaskMonthCount,
  }) {
    _userAllTaskDayCount = userAllTaskDayCount;
    _userAllTaskWeekCount = userAllTaskWeekCount;
    _userAllTaskMonthCount = userAllTaskMonthCount;
  }

  CountBo.fromJson(dynamic json) {
    _userAllTaskDayCount = json['userAllTaskDayCount'];
    _userAllTaskWeekCount = json['userAllTaskWeekCount'];
    _userAllTaskMonthCount = json['userAllTaskMonthCount'];
  }

  int? _userAllTaskDayCount;
  int? _userAllTaskWeekCount;
  int? _userAllTaskMonthCount;

  CountBo copyWith({
    int? userAllTaskDayCount,
    int? userAllTaskWeekCount,
    int? userAllTaskMonthCount,
  }) =>
      CountBo(
        userAllTaskDayCount: userAllTaskDayCount ?? _userAllTaskDayCount,
        userAllTaskWeekCount: userAllTaskWeekCount ?? _userAllTaskWeekCount,
        userAllTaskMonthCount: userAllTaskMonthCount ?? _userAllTaskMonthCount,
      );

  int? get userAllTaskDayCount => _userAllTaskDayCount;

  int? get userAllTaskWeekCount => _userAllTaskWeekCount;

  int? get userAllTaskMonthCount => _userAllTaskMonthCount;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['userAllTaskDayCount'] = _userAllTaskDayCount;
    map['userAllTaskWeekCount'] = _userAllTaskWeekCount;
    map['userAllTaskMonthCount'] = _userAllTaskMonthCount;

    return map;
  }
}
