feat(Background): Add Width, Height, Top and Left properties.

- Add JsonIgnroe property to BackGround
This commit is contained in:
Developer 02 2025-04-23 15:38:14 +02:00
parent ea6ee11a4e
commit d80fa0b023

View File

@ -1,6 +1,17 @@
namespace EnvelopeGenerator.Web.Models.Annotation; using System.Text.Json.Serialization;
namespace EnvelopeGenerator.Web.Models.Annotation;
public class Background public class Background
{ {
[JsonIgnore]
public int Margin { get; init; } 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; }
} }