diff --git a/src/classes/Disruption.js b/src/classes/Disruption.js new file mode 100644 index 0000000..583db9a --- /dev/null +++ b/src/classes/Disruption.js @@ -0,0 +1,11 @@ + +class Disruption { + constructor(situationNumber, severity, title, affectedStopPoints) { + this.situationNumber = situationNumber; + this.severity = severity; + this.title = title; + this.affectedStopPoints = affectedStopPoints; + } +} + +export default Disruption; \ No newline at end of file