feat(Anmerkung): JsonIgnore-Attribut für nicht-clientbezogene Entitäten hinzugefügt

This commit is contained in:
Developer 02 2025-03-20 14:58:41 +01:00
parent 14be46d3d6
commit db84abf0e7

View File

@ -7,8 +7,10 @@ public record Annotation
public required string Name { get; init; }
#region Bound Annotation
[JsonIgnore]
public string? HorBoundAnnotName { get; init; }
[JsonIgnore]
public string? VerBoundAnnotName { get; init; }
#endregion
@ -21,12 +23,14 @@ public record Annotation
internal double _height = default;
[JsonIgnore]
public double MarginLeft
{
get => _marginLeft;
init => _marginLeft = value;
}
[JsonIgnore]
public double MarginTop
{
get => _marginTop;
@ -53,8 +57,10 @@ public record Annotation
#endregion
#region Boundary
[JsonIgnore]
public double HorBoundary => MarginLeft + Width;
[JsonIgnore]
public double VerBoundary => MarginTop + Height;
#endregion