class GetAbsenceCollectionNotificationBodyList {
  List<CollectionNotificationAbsence>? collectionNotification;

  GetAbsenceCollectionNotificationBodyList({this.collectionNotification});

  GetAbsenceCollectionNotificationBodyList.fromJson(Map<String, dynamic> json) {
    if (json['Collection_Notification'] != null) {
      collectionNotification = <CollectionNotificationAbsence>[];
      json['Collection_Notification'].forEach((v) {
        collectionNotification!.add(new CollectionNotificationAbsence.fromJson(v));
      });
    }
  }

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

class CollectionNotificationAbsence {
  String? aCTION;
  String? aPPLICATIONCOLUMNNAME;
  String? dATATYPE;
  String? dATEVALUE;
  String? dESCFLEXCONTEXTCODE;
  String? dESCFLEXNAME;
  String? dISPLAYFLAG;
  int? nUMBERVALUE;
  String? pREVSEGMENTVALUEDSP;
  String? sEGMENTNAME;
  String? sEGMENTPROMPT;
  int? sEGMENTSEQNUM;
  String? sEGMENTVALUEDSP;
  int? tRANSACTIONNUMBER;
  String? vARCHAR2VALUE;

  CollectionNotificationAbsence(
      {this.aCTION,
      this.aPPLICATIONCOLUMNNAME,
      this.dATATYPE,
      this.dATEVALUE,
      this.dESCFLEXCONTEXTCODE,
      this.dESCFLEXNAME,
      this.dISPLAYFLAG,
      this.nUMBERVALUE,
      this.pREVSEGMENTVALUEDSP,
      this.sEGMENTNAME,
      this.sEGMENTPROMPT,
      this.sEGMENTSEQNUM,
      this.sEGMENTVALUEDSP,
      this.tRANSACTIONNUMBER,
      this.vARCHAR2VALUE});

  CollectionNotificationAbsence.fromJson(Map<String, dynamic> json) {
    aCTION = json['ACTION'];
    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'];
    nUMBERVALUE = json['NUMBER_VALUE'];
    pREVSEGMENTVALUEDSP = json['PREV_SEGMENT_VALUE_DSP'];
    sEGMENTNAME = json['SEGMENT_NAME'];
    sEGMENTPROMPT = json['SEGMENT_PROMPT'];
    sEGMENTSEQNUM = json['SEGMENT_SEQ_NUM'];
    sEGMENTVALUEDSP = json['SEGMENT_VALUE_DSP'];
    tRANSACTIONNUMBER = json['TRANSACTION_NUMBER'];
    vARCHAR2VALUE = json['VARCHAR2_VALUE'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> data = new Map<String, dynamic>();
    data['ACTION'] = this.aCTION;
    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['NUMBER_VALUE'] = this.nUMBERVALUE;
    data['PREV_SEGMENT_VALUE_DSP'] = this.pREVSEGMENTVALUEDSP;
    data['SEGMENT_NAME'] = this.sEGMENTNAME;
    data['SEGMENT_PROMPT'] = this.sEGMENTPROMPT;
    data['SEGMENT_SEQ_NUM'] = this.sEGMENTSEQNUM;
    data['SEGMENT_VALUE_DSP'] = this.sEGMENTVALUEDSP;
    data['TRANSACTION_NUMBER'] = this.tRANSACTIONNUMBER;
    data['VARCHAR2_VALUE'] = this.vARCHAR2VALUE;
    return data;
  }
}
