/// packetId : ""
/// amount : 0
/// grabTime : ""
/// remainCount : 0
/// totalCount : 0

class SCRoomRedPacketGrabRes {
  SCRoomRedPacketGrabRes({
      String? packetId,
      num? amount,
      String? grabTime,
      num? remainCount,
      num? totalCount,}){
    _packetId = packetId;
    _amount = amount;
    _grabTime = grabTime;
    _remainCount = remainCount;
    _totalCount = totalCount;
}

  SCRoomRedPacketGrabRes.fromJson(dynamic json) {
    _packetId = json['packetId'];
    _amount = json['amount'];
    _grabTime = json['grabTime'];
    _remainCount = json['remainCount'];
    _totalCount = json['totalCount'];
  }
  String? _packetId;
  num? _amount;
  String? _grabTime;
  num? _remainCount;
  num? _totalCount;

  String? get packetId => _packetId;
  num? get amount => _amount;
  String? get grabTime => _grabTime;
  num? get remainCount => _remainCount;
  num? get totalCount => _totalCount;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['packetId'] = _packetId;
    map['amount'] = _amount;
    map['grabTime'] = _grabTime;
    map['remainCount'] = _remainCount;
    map['totalCount'] = _totalCount;
    return map;
  }

}