-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add building was merged contracts
- Loading branch information
Showing
4 changed files
with
130 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
...Be.Vlaanderen.Basisregisters.GrAr.Contracts/BuildingRegistry/BuildingMergerWasRealized.cs
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,28 @@ | ||
namespace Be.Vlaanderen.Basisregisters.GrAr.Contracts.BuildingRegistry | ||
{ | ||
using System.Collections.Generic; | ||
using Common; | ||
|
||
public sealed class BuildingMergerWasRealized : IQueueMessage | ||
{ | ||
public int BuildingPersistentLocalId { get; } | ||
|
||
public string ExtendedWkbGeometry { get; } | ||
|
||
public List<int> MergedBuildingPersistentLocalIds { get; } | ||
|
||
public Provenance Provenance { get; } | ||
|
||
public BuildingMergerWasRealized( | ||
int buildingPersistentLocalId, | ||
string extendedWkbGeometry, | ||
List<int> mergedBuildingPersistentLocalIds, | ||
Provenance provenance) | ||
{ | ||
BuildingPersistentLocalId = buildingPersistentLocalId; | ||
ExtendedWkbGeometry = extendedWkbGeometry; | ||
MergedBuildingPersistentLocalIds = mergedBuildingPersistentLocalIds; | ||
Provenance = provenance; | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
src/Be.Vlaanderen.Basisregisters.GrAr.Contracts/BuildingRegistry/BuildingUnitWasMoved.cs
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,27 @@ | ||
namespace Be.Vlaanderen.Basisregisters.GrAr.Contracts.BuildingRegistry | ||
{ | ||
using Common; | ||
|
||
public sealed class BuildingUnitWasMoved : IQueueMessage | ||
{ | ||
public int BuildingPersistentLocalId { get; } | ||
|
||
public int BuildingUnitPersistentLocalId { get; } | ||
|
||
public int DestinationBuildingPersistentLocalId { get; } | ||
|
||
public Provenance Provenance { get; } | ||
|
||
public BuildingUnitWasMoved( | ||
int buildingPersistentLocalId, | ||
int buildingUnitPersistentLocalId, | ||
int destinationBuildingPersistentLocalId, | ||
Provenance provenance) | ||
{ | ||
BuildingPersistentLocalId = buildingPersistentLocalId; | ||
BuildingUnitPersistentLocalId = buildingUnitPersistentLocalId; | ||
DestinationBuildingPersistentLocalId = destinationBuildingPersistentLocalId; | ||
Provenance = provenance; | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...e.Vlaanderen.Basisregisters.GrAr.Contracts/BuildingRegistry/BuildingUnitWasTransferred.cs
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,52 @@ | ||
namespace Be.Vlaanderen.Basisregisters.GrAr.Contracts.BuildingRegistry | ||
{ | ||
using System.Collections.Generic; | ||
using Common; | ||
|
||
public sealed class BuildingUnitWasTransferred : IQueueMessage | ||
{ | ||
public int BuildingPersistentLocalId { get; } | ||
|
||
public int BuildingUnitPersistentLocalId { get; } | ||
|
||
public int SourceBuildingPersistentLocalId { get; } | ||
|
||
public string Function { get; } | ||
|
||
public string Status { get; } | ||
|
||
public List<int> AddressPersistentLocalIds { get; } | ||
|
||
public string GeometryMethod { get; } | ||
|
||
public string ExtendedWkbGeometry { get; } | ||
|
||
public bool HasDeviation { get; } | ||
|
||
public Provenance Provenance { get; } | ||
|
||
public BuildingUnitWasTransferred( | ||
int buildingPersistentLocalId, | ||
int buildingUnitPersistentLocalId, | ||
int sourceBuildingPersistentLocalId, | ||
string function, | ||
string status, | ||
List<int> addressPersistentLocalIds, | ||
string geometryMethod, | ||
string extendedWkbGeometry, | ||
bool hasDeviation, | ||
Provenance provenance) | ||
{ | ||
BuildingPersistentLocalId = buildingPersistentLocalId; | ||
BuildingUnitPersistentLocalId = buildingUnitPersistentLocalId; | ||
SourceBuildingPersistentLocalId = sourceBuildingPersistentLocalId; | ||
Function = function; | ||
Status = status; | ||
AddressPersistentLocalIds = addressPersistentLocalIds; | ||
GeometryMethod = geometryMethod; | ||
ExtendedWkbGeometry = extendedWkbGeometry; | ||
HasDeviation = hasDeviation; | ||
Provenance = provenance; | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
src/Be.Vlaanderen.Basisregisters.GrAr.Contracts/BuildingRegistry/BuildingWasMerged.cs
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,23 @@ | ||
namespace Be.Vlaanderen.Basisregisters.GrAr.Contracts.BuildingRegistry | ||
{ | ||
using Common; | ||
|
||
public sealed class BuildingWasMerged : IQueueMessage | ||
{ | ||
public int BuildingPersistentLocalId { get; } | ||
|
||
public int DestinationBuildingPersistentLocalId { get; } | ||
|
||
public Provenance Provenance { get; } | ||
|
||
public BuildingWasMerged( | ||
int buildingPersistentLocalId, | ||
int destinationBuildingPersistentLocalId, | ||
Provenance provenance) | ||
{ | ||
BuildingPersistentLocalId = buildingPersistentLocalId; | ||
DestinationBuildingPersistentLocalId = destinationBuildingPersistentLocalId; | ||
Provenance = provenance; | ||
} | ||
} | ||
} |