class ListMenu {
  ListMenu({
    this.menuId,
    this.menuName,
    this.menuType,
    this.requestGroupId,
    this.requestGroupName,
    this.respId,
    this.subMenuName,
  });

  int? menuId;
  String? menuName;
  String? menuType;
  int? requestGroupId;
  String? requestGroupName;
  dynamic? respId;
  String? subMenuName;

  factory ListMenu.fromJson(Map<String, dynamic> json) => ListMenu(
        menuId: json["MENU_ID"] == null ? null : json["MENU_ID"],
        menuName: json["MENU_NAME"] == null ? null : json["MENU_NAME"],
        menuType: json["MENU_TYPE"] == null ? null : json["MENU_TYPE"],
        requestGroupId: json["REQUEST_GROUP_ID"] == null ? null : json["REQUEST_GROUP_ID"],
        requestGroupName: json["REQUEST_GROUP_NAME"] == null ? null : json["REQUEST_GROUP_NAME"],
        respId: json["RESP_ID"],
        subMenuName: json["SUB_MENU_NAME"] == null ? null : json["SUB_MENU_NAME"],
      );

  Map<String, dynamic> toJson() => {
        "MENU_ID": menuId == null ? null : menuId,
        "MENU_NAME": menuName == null ? null : menuName,
        "MENU_TYPE": menuType == null ? null : menuType,
        "REQUEST_GROUP_ID": requestGroupId == null ? null : requestGroupId,
        "REQUEST_GROUP_NAME": requestGroupName == null ? null : requestGroupName,
        "RESP_ID": respId,
        "SUB_MENU_NAME": subMenuName == null ? null : subMenuName,
      };
}
