namespace EnvelopeGenerator.Application.Common.Dto;
///
///
///
public record AnnotationCreateDto
{
///
///
///
public long Id { get; set; }
///
///
///
[Obsolete("Not required for DevExpress")]
public int ElementId { get; init; } = -1;
///
///
///
[Obsolete("Not required for DevExpress")]
public string Name { get; init; } = string.Empty;
///
///
///
[Obsolete("Not required for DevExpress")]
public string Value { get; init; } = string.Empty;
///
///
///
[Obsolete("Not required for DevExpress")]
public string Type { get; init; } = string.Empty;
///
///
///
public double? X { get; init; }
///
///
///
public double? Y { get; init; }
///
///
///
[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; }
}
///
///
///
public record AnnotationDto : AnnotationCreateDto
{
///
///
///
public long Id { get; init; }
///
///
///
public DateTime AddedWhen { get; init; }
///
///
///
public DateTime? ChangedWhen { get; init; }
///
///
///
public string? ChangedWho { get; init; }
}