Enumeration
Model​
- Typescript
- Python
watchmen-web-client/src/services/data/tuples/enum-types.ts
export interface EnumItem {
code: string;
label: string;
replaceCode?: string;
parentCode?: string;
}
export type EnumId = string;
export interface Enum extends Tuple {
enumId: EnumId;
name: string;
description?: string;
parentEnumId?: EnumId;
items: Array<EnumItem>;
tenantId?: TenantId;
}
(under construction)