Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | import { Entity } from '../entity.js'; import { Theme } from './theme.js'; import { MenuItem } from './menu_item.js'; export class Menu extends Entity { protected static resourceName = 'menus'; protected static singularName = 'menu'; protected static pluralName = 'menus'; @Menu.property({type: Date}) public archived?: Date | null; @Menu.property() public id?: number; @Menu.property() public name?: string; @Menu.property() public menuHandle?: string; @Menu.property() public menuType?: number; @Menu.property() public theme?: Theme; @Menu.property({arrayType: 'MenuItem'}) public menuItems?: MenuItem[]; } |