class GetEitTransactionsModel {
  List<CollectionTransaction>? collectionTransaction;

  GetEitTransactionsModel({this.collectionTransaction});

  GetEitTransactionsModel.fromJson(Map<String, dynamic> json) {
    if (json['Collection_Transaction'] != null) {
      collectionTransaction = <CollectionTransaction>[];
      json['Collection_Transaction'].forEach((v) {
        collectionTransaction!.add(new CollectionTransaction.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.collectionTransaction != null) {
      data['Collection_Transaction'] = this.collectionTransaction!.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class CollectionTransaction {
  String? aPPLICATIONCOLUMNNAME;
  String? dATATYPE;
  String? dATEVALUE;
  String? dESCFLEXCONTEXTCODE;
  String? dESCFLEXNAME;
  String? dISPLAYFLAG;
  int? fROMROWNUM;
  int? nOOFROWS;
  dynamic? nUMBERVALUE;
  int? rOWNUM;
  String? sEGMENTNAME;
  String? sEGMENTPROMPT;
  int? sEGMENTSEQNUM;
  String? sEGMENTVALUEDSP;
  int? tOROWNUM;
  int? tRANSACTIONNUMBER;
  String? vARCHAR2VALUE;

  CollectionTransaction(
      {this.aPPLICATIONCOLUMNNAME,
      this.dATATYPE,
      this.dATEVALUE,
      this.dESCFLEXCONTEXTCODE,
      this.dESCFLEXNAME,
      this.dISPLAYFLAG,
      this.fROMROWNUM,
      this.nOOFROWS,
      this.nUMBERVALUE,
      this.rOWNUM,
      this.sEGMENTNAME,
      this.sEGMENTPROMPT,
      this.sEGMENTSEQNUM,
      this.sEGMENTVALUEDSP,
      this.tOROWNUM,
      this.tRANSACTIONNUMBER,
      this.vARCHAR2VALUE});

  CollectionTransaction.fromJson(Map<String, dynamic> json) {
    aPPLICATIONCOLUMNNAME = json['APPLICATION_COLUMN_NAME'];
    dATATYPE = json['DATATYPE'];
    dATEVALUE = json['DATE_VALUE'];
    dESCFLEXCONTEXTCODE = json['DESC_FLEX_CONTEXT_CODE'];
    dESCFLEXNAME = json['DESC_FLEX_NAME'];
    dISPLAYFLAG = json['DISPLAY_FLAG'];
    fROMROWNUM = json['FROM_ROW_NUM'];
    nOOFROWS = json['NO_OF_ROWS'];
    nUMBERVALUE = json['NUMBER_VALUE'];
    rOWNUM = json['ROW_NUM'];
    sEGMENTNAME = json['SEGMENT_NAME'];
    sEGMENTPROMPT = json['SEGMENT_PROMPT'];
    sEGMENTSEQNUM = json['SEGMENT_SEQ_NUM'];
    sEGMENTVALUEDSP = json['SEGMENT_VALUE_DSP'];
    tOROWNUM = json['TO_ROW_NUM'];
    tRANSACTIONNUMBER = json['TRANSACTION_NUMBER'];
    vARCHAR2VALUE = json['VARCHAR2_VALUE'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> data = new Map<String, dynamic>();
    data['APPLICATION_COLUMN_NAME'] = this.aPPLICATIONCOLUMNNAME;
    data['DATATYPE'] = this.dATATYPE;
    data['DATE_VALUE'] = this.dATEVALUE;
    data['DESC_FLEX_CONTEXT_CODE'] = this.dESCFLEXCONTEXTCODE;
    data['DESC_FLEX_NAME'] = this.dESCFLEXNAME;
    data['DISPLAY_FLAG'] = this.dISPLAYFLAG;
    data['FROM_ROW_NUM'] = this.fROMROWNUM;
    data['NO_OF_ROWS'] = this.nOOFROWS;
    data['NUMBER_VALUE'] = this.nUMBERVALUE;
    data['ROW_NUM'] = this.rOWNUM;
    data['SEGMENT_NAME'] = this.sEGMENTNAME;
    data['SEGMENT_PROMPT'] = this.sEGMENTPROMPT;
    data['SEGMENT_SEQ_NUM'] = this.sEGMENTSEQNUM;
    data['SEGMENT_VALUE_DSP'] = this.sEGMENTVALUEDSP;
    data['TO_ROW_NUM'] = this.tOROWNUM;
    data['TRANSACTION_NUMBER'] = this.tRANSACTIONNUMBER;
    data['VARCHAR2_VALUE'] = this.vARCHAR2VALUE;
    return data;
  }
}
