generated from it-at-m/oss-repository-en-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logik zur befuellung der MessstellenOverview eingebaut
- Loading branch information
1 parent
898424f
commit 3167331
Showing
7 changed files
with
76 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import BaseEntity from "@/domain/BaseEntity"; | ||
import { MessstelleStatus } from "@/domain/enums/MessstelleStatus"; | ||
|
||
export default interface MessstelleOverviewDTO extends BaseEntity { | ||
mstId: string; | ||
name: string; | ||
status: MessstelleStatus; | ||
geprueft: boolean; | ||
sichtbarDatenportal: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
export const enum MessstelleStatus { | ||
/** | ||
* In Planung | ||
*/ | ||
IN_PLANUNG = "IN_PLANUNG", | ||
|
||
/** | ||
* In Bestand | ||
*/ | ||
IN_BESTAND = "IN_BESTAND", | ||
|
||
/** | ||
* AUSSER_BETRIEB | ||
*/ | ||
AUSSER_BETRIEB = "AUSSER_BETRIEB", | ||
|
||
/** | ||
* ABGEBAUT | ||
*/ | ||
ABGEBAUT = "ABGEBAUT", | ||
|
||
/** | ||
* UNBEKANNT | ||
*/ | ||
UNBEKANNT = "UNBEKANNT", | ||
} | ||
|
||
export const messstelleStatusText = new Map<string, string>([ | ||
[MessstelleStatus.IN_PLANUNG, "In Planung"], | ||
[MessstelleStatus.IN_BESTAND, "In Bestand"], | ||
[MessstelleStatus.AUSSER_BETRIEB, "Außer Betrieb"], | ||
[MessstelleStatus.ABGEBAUT, "Abgebaut"], | ||
[MessstelleStatus.UNBEKANNT, "unbekannt"], | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters