diff --git a/EnvelopeGenerator.Web/Models/Annotation/Background.cs b/EnvelopeGenerator.Web/Models/Annotation/Background.cs index 57220365..b9143f5b 100644 --- a/EnvelopeGenerator.Web/Models/Annotation/Background.cs +++ b/EnvelopeGenerator.Web/Models/Annotation/Background.cs @@ -1,6 +1,17 @@ -namespace EnvelopeGenerator.Web.Models.Annotation; +using System.Text.Json.Serialization; + +namespace EnvelopeGenerator.Web.Models.Annotation; public class Background { + [JsonIgnore] public int Margin { get; init; } + + public double? Width { get; set; } + + public double? Height { get; set; } + + public double? Left { get; set; } + + public double? Top { get; set; } }