export class NavMenu {
  id?: string;
  sysId?: string;
  sysName?: string;
  sysFunType?: string;
  sysFunTypeName?: string;
  sysIcon?: string;
  sysMountRule?: string;
  sysMountName?: string;
  sysMountContainerId?: string;
  sysMountEntry?: string;
  sysUrl?: string;
  description?: string;
  serial?: number | undefined;
  effStatus?: string;
  checked?: boolean;
  constructor(
    options: {
      id?: string;
      sysId?: string;
      sysName?: string;
      sysFunType?: string;
      sysFunTypeName?: string;
      sysIcon?: string;
      sysMountRule?: string;
      sysMountName?: string;
      sysMountContainerId?: string;
      sysMountEntry?: string;
      sysUrl?: string;
      description?: string;
      serial?: number;
      effStatus?: string;
      checked?: string;
    } = {}
  ) {
    this.id = options.id || "";
    this.sysId = options.sysId || "";
    this.sysName = options.sysName || "";
    this.sysFunType = options.sysFunType || "";
    this.sysFunTypeName = options.sysFunTypeName || "";
    this.sysIcon = options.sysIcon || "";
    this.sysMountRule = options.sysMountRule || "";
    this.sysMountName = options.sysMountName || "";
    this.sysMountContainerId = options.sysMountContainerId || "";
    this.sysMountEntry = options.sysMountEntry || "";
    this.sysUrl = options.sysUrl || "";
    this.description = options.description || "";
    this.serial = options.serial;
    this.effStatus = options.effStatus || "";
    this.checked = !!options.checked;
  }
}
