17 lines
318 B
TypeScript
17 lines
318 B
TypeScript
export class Meter {
|
|
id: number;
|
|
name: '1LOG' | '1HEM' | 'WASSER' | 'ABWASSER';
|
|
|
|
constructor(id: number, name: '1LOG' | '1HEM' | 'WASSER' | 'ABWASSER') {
|
|
this.id = id;
|
|
this.name = name;
|
|
}
|
|
}
|
|
|
|
export enum Meters {
|
|
'1LOG' = '1LOG',
|
|
'1HEM' = '1HEM',
|
|
'WASSER' = 'WASSER',
|
|
'ABWASSER' = 'ABWASSER',
|
|
}
|