class BankCardModel {
  String? cardId;
  String cardNo='';
  String? createDate;
  String? owerName;
  String? ownerBank;
  String? personId;
  String? phone;
  int? status;
  String? color1;
  String? color2;
  String? bankCode;

  BankCardModel();

  BankCardModel.fromJson(Map<String, dynamic> json)
      : cardId = json["cardId"],
        cardNo = json["cardNo"],
        personId = json["personId"],
        owerName = json["owerName"],
        phone = json["phone"],
        ownerBank = json["ownerBank"],
        status = json["status"],
        color1 = json["color1"],
        color2 = json["color2"],
        bankCode = json["bankCode"],
        createDate = json["createDate"];
  Map<String, dynamic> toJson() => {
        'cardId': cardId,
        'cardNo': cardNo,
        'personId': personId,
        'owerName': owerName,
        'color1': color1,
        'color2': color2,
        'bankCode': bankCode,
        'phone': phone,
        'ownerBank': ownerBank,
        'status': status,
        'createDate': createDate,
      };
}
