You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			86 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Dart
		
	
			
		
		
	
	
			86 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Dart
		
	
import 'package:mohem_flutter_app/models/get_employee_basic_details.model.dart';
 | 
						|
 | 
						|
class GetBasicDetColsStructureList {
 | 
						|
  String? aPPLICATIONCOLUMNNAME;
 | 
						|
  String? dATATYPE;
 | 
						|
  String? dISPLAYFLAG;
 | 
						|
  int? mAXIMUMSIZE;
 | 
						|
  String? oBJECTNAME;
 | 
						|
  String? oBJECTTYPE;
 | 
						|
  List<ObjectValuesList>? objectValuesList;
 | 
						|
  String? rEQUIREDFLAG;
 | 
						|
  String? sEGMENTPROMPT;
 | 
						|
  int? sEGMENTSEQNUM;
 | 
						|
  GetEmployeeBasicDetailsList? userBasicDetail;
 | 
						|
  GetBasicDetColsStructureList({
 | 
						|
    this.aPPLICATIONCOLUMNNAME,
 | 
						|
    this.dATATYPE,
 | 
						|
    this.dISPLAYFLAG,
 | 
						|
    this.mAXIMUMSIZE,
 | 
						|
    this.oBJECTNAME,
 | 
						|
    this.oBJECTTYPE,
 | 
						|
    this.objectValuesList,
 | 
						|
    this.rEQUIREDFLAG,
 | 
						|
    this.sEGMENTPROMPT,
 | 
						|
    this.sEGMENTSEQNUM,
 | 
						|
    this.userBasicDetail,
 | 
						|
  });
 | 
						|
 | 
						|
  GetBasicDetColsStructureList.fromJson(Map<String, dynamic> json) {
 | 
						|
    aPPLICATIONCOLUMNNAME = json['APPLICATION_COLUMN_NAME'];
 | 
						|
    dATATYPE = json['DATATYPE'];
 | 
						|
    dISPLAYFLAG = json['DISPLAY_FLAG'];
 | 
						|
    mAXIMUMSIZE = json['MAXIMUM_SIZE'];
 | 
						|
    oBJECTNAME = json['OBJECT_NAME'];
 | 
						|
    oBJECTTYPE = json['OBJECT_TYPE'];
 | 
						|
    if (json['ObjectValuesList'] != null) {
 | 
						|
      objectValuesList = <ObjectValuesList>[];
 | 
						|
      json['ObjectValuesList'].forEach((v) {
 | 
						|
        objectValuesList!.add(new ObjectValuesList.fromJson(v));
 | 
						|
      });
 | 
						|
    }
 | 
						|
    rEQUIREDFLAG = json['REQUIRED_FLAG'];
 | 
						|
    sEGMENTPROMPT = json['SEGMENT_PROMPT'];
 | 
						|
    sEGMENTSEQNUM = json['SEGMENT_SEQ_NUM'];
 | 
						|
  }
 | 
						|
 | 
						|
  Map<String, dynamic> toJson() {
 | 
						|
    final Map<String, dynamic> data = new Map<String, dynamic>();
 | 
						|
    data['APPLICATION_COLUMN_NAME'] = this.aPPLICATIONCOLUMNNAME;
 | 
						|
    data['DATATYPE'] = this.dATATYPE;
 | 
						|
    data['DISPLAY_FLAG'] = this.dISPLAYFLAG;
 | 
						|
    data['MAXIMUM_SIZE'] = this.mAXIMUMSIZE;
 | 
						|
    data['OBJECT_NAME'] = this.oBJECTNAME;
 | 
						|
    data['OBJECT_TYPE'] = this.oBJECTTYPE;
 | 
						|
    if (this.objectValuesList != null) {
 | 
						|
      data['ObjectValuesList'] = this.objectValuesList!.map((v) => v.toJson()).toList();
 | 
						|
    }
 | 
						|
    data['REQUIRED_FLAG'] = this.rEQUIREDFLAG;
 | 
						|
    data['SEGMENT_PROMPT'] = this.sEGMENTPROMPT;
 | 
						|
    data['SEGMENT_SEQ_NUM'] = this.sEGMENTSEQNUM;
 | 
						|
    return data;
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
class ObjectValuesList {
 | 
						|
  String? cODE;
 | 
						|
  String? dESCRIPTION;
 | 
						|
  String? mEANING;
 | 
						|
 | 
						|
  ObjectValuesList({this.cODE, this.dESCRIPTION, this.mEANING});
 | 
						|
 | 
						|
  ObjectValuesList.fromJson(Map<String, dynamic> json) {
 | 
						|
    cODE = json['CODE'];
 | 
						|
    dESCRIPTION = json['DESCRIPTION'];
 | 
						|
    mEANING = json['MEANING'];
 | 
						|
  }
 | 
						|
 | 
						|
  Map<String, dynamic> toJson() {
 | 
						|
    final Map<String, dynamic> data = new Map<String, dynamic>();
 | 
						|
    data['CODE'] = this.cODE;
 | 
						|
    data['DESCRIPTION'] = this.dESCRIPTION;
 | 
						|
    data['MEANING'] = this.mEANING;
 | 
						|
    return data;
 | 
						|
  }
 | 
						|
}
 |