class MasterKeyModel {
  String alias;
  String aliasN;
  dynamic code;
  dynamic description;
  dynamic detail1;
  dynamic detail2;
  dynamic detail3;
  dynamic detail4;
  dynamic detail5;
  int groupID;
  int id;
  String nameAr;
  String nameEn;
  dynamic remarks;
  int typeId;
  String valueList;

  MasterKeyModel(
      {this.alias,
        this.aliasN,
        this.code,
        this.description,
        this.detail1,
        this.detail2,
        this.detail3,
        this.detail4,
        this.detail5,
        this.groupID,
        this.id,
        this.nameAr,
        this.nameEn,
        this.remarks,
        this.typeId,
        this.valueList});

  MasterKeyModel.fromJson(Map<String, dynamic> json) {
    alias = json['alias'];
    aliasN = json['aliasN'];
    code = json['code'];
    description = json['description'];
    detail1 = json['detail1'];
    detail2 = json['detail2'];
    detail3 = json['detail3'];
    detail4 = json['detail4'];
    detail5 = json['detail5'];
    groupID = json['groupID'];
    id = json['id'];
    nameAr = json['nameAr'];
    nameEn = json['nameEn'];
    remarks = json['remarks'];
    typeId = json['typeId'];
    valueList = json['valueList'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['alias'] = this.alias;
    data['aliasN'] = this.aliasN;
    data['code'] = this.code;
    data['description'] = this.description;
    data['detail1'] = this.detail1;
    data['detail2'] = this.detail2;
    data['detail3'] = this.detail3;
    data['detail4'] = this.detail4;
    data['detail5'] = this.detail5;
    data['groupID'] = this.groupID;
    data['id'] = this.id;
    data['nameAr'] = this.nameAr;
    data['nameEn'] = this.nameEn;
    data['remarks'] = this.remarks;
    data['typeId'] = this.typeId;
    data['valueList'] = this.valueList;
    return data;
  }
}
