diff --git a/EnvelopeGenerator.Application/Common/Dto/AnnotationDto.cs b/EnvelopeGenerator.Application/Common/Dto/AnnotationDto.cs index 52ec400f..e20769b5 100644 --- a/EnvelopeGenerator.Application/Common/Dto/AnnotationDto.cs +++ b/EnvelopeGenerator.Application/Common/Dto/AnnotationDto.cs @@ -8,22 +8,31 @@ public record AnnotationCreateDto /// /// /// - public int ElementId { get; init; } + public long Id { get; set; } /// /// /// - public string Name { get; init; } = null!; + [Obsolete("Not required for DevExpress")] + public int ElementId { get; init; } = -1; /// /// /// - public string Value { get; init; } = null!; + [Obsolete("Not required for DevExpress")] + public string Name { get; init; } = string.Empty; /// /// /// - public string Type { get; init; } = null!; + [Obsolete("Not required for DevExpress")] + public string Value { get; init; } = string.Empty; + + /// + /// + /// + [Obsolete("Not required for DevExpress")] + public string Type { get; init; } = string.Empty; /// /// @@ -38,12 +47,19 @@ public record AnnotationCreateDto /// /// /// + [Obsolete("Not required for DevExpress")] public double? Width { get; init; } /// /// /// + [Obsolete("Not required for DevExpress")] public double? Height { get; init; } + + /// + /// Added to eliminate the need for SignatureDto in DevExpress + /// + public int? Page { get; init; } } /// diff --git a/EnvelopeGenerator.ReceiverUI/wwwroot/appsettings.json b/EnvelopeGenerator.ReceiverUI/wwwroot/appsettings.json index d81df0c0..54ab39a7 100644 --- a/EnvelopeGenerator.ReceiverUI/wwwroot/appsettings.json +++ b/EnvelopeGenerator.ReceiverUI/wwwroot/appsettings.json @@ -1,6 +1,6 @@ { "Api": { - "BaseUrl": "https://localhost:8088", + "BaseUrl": "", "ForceToUseFakeDocument": true } }