feat(AnnotationParams): Erstellt, um Annotationen über Appsettings zu konfigurieren.
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
namespace EnvelopeGenerator.Web.Models;
|
||||
|
||||
public record Annotation(
|
||||
string Id,
|
||||
string? HorBoundAnnotId = null, string? VerBoundAnnotId = null)
|
||||
public record Annotation(string? HorBoundAnnotId = null, string? VerBoundAnnotId = null)
|
||||
{
|
||||
#region Layout
|
||||
internal double _marginX = default;
|
||||
@@ -51,8 +49,8 @@ public record Annotation(
|
||||
#endregion
|
||||
|
||||
#region BoundAnnot
|
||||
public Annot? HorBoundAnnot { get; set; }
|
||||
public Annotation? HorBoundAnnot { get; set; }
|
||||
|
||||
public Annot? VerBoundAnnot { get; set; }
|
||||
public Annotation? VerBoundAnnot { get; set; }
|
||||
#endregion
|
||||
};
|
||||
6
EnvelopeGenerator.Web/Models/AnnotationParams.cs
Normal file
6
EnvelopeGenerator.Web/Models/AnnotationParams.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace EnvelopeGenerator.Web.Models;
|
||||
|
||||
public class AnnotationParams
|
||||
{
|
||||
public required Dictionary<string, Annotation> Annotations { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user