export class SysMenuInfo { menuId: string; appId: string; menuName: string; menuSupId: string; menuType: string; menuLevel: number | undefined; tradeCode: string; connectType: string; menuUrl: string; menuIcon: string; isLeaf: string; rowSpan: number | undefined; colSpan: number | undefined; bgImg: string; bgColor: string; sortNo: number | undefined; menuRemark: string; useState: string; checkX: string; children: SysMenuInfo[]; constructor( options: { menuId?: string; appId?: string; menuName?: string; menuSupId?: string; menuType?: string; menuLevel?: number; tradeCode?: string; connectType?: string; menuUrl?: string; menuIcon?: string; isLeaf?: string; rowSpan?: number; colSpan?: number; bgImg?: string; bgColor?: string; sortNo?: number; menuRemark?: string; useState?: string; checkX?: string; children?: SysMenuInfo[]; } = {} ) { this.menuId = options.menuId || ""; this.appId = options.appId || ""; this.menuName = options.menuName || ""; this.menuSupId = options.menuSupId || ""; this.menuName = options.menuName || ""; this.menuType = options.menuType || ""; this.menuLevel = options.menuLevel; this.tradeCode = options.tradeCode || ""; this.connectType = options.connectType || ""; this.menuUrl = options.menuUrl || ""; this.menuIcon = options.menuIcon || ""; this.isLeaf = options.isLeaf || ""; this.rowSpan = options.rowSpan; this.colSpan = options.colSpan; this.bgImg = options.bgImg || ""; this.bgColor = options.bgColor || ""; this.sortNo = options.sortNo; this.menuRemark = options.menuRemark || ""; this.useState = options.useState || ""; this.checkX = options.checkX || ""; this.children = options.children || []; } }