mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:56:29 +00:00
8b94837f18
fixes add visual validation border and validate functionality
25 lines
942 B
C#
25 lines
942 B
C#
using Azaion.Common.Database;
|
|
using Azaion.CommonSecurity.DTO;
|
|
|
|
namespace Azaion.Common.DTO.Queue;
|
|
using MessagePack;
|
|
|
|
[MessagePackObject]
|
|
public class AnnotationCreatedMessage
|
|
{
|
|
[Key(0)] public DateTime CreatedDate { get; set; }
|
|
[Key(1)] public string Name { get; set; } = null!;
|
|
[Key(2)] public string ImageExtension { get; set; } = null!;
|
|
[Key(3)] public string Detections { get; set; } = null!;
|
|
[Key(4)] public byte[] Image { get; set; } = null!;
|
|
[Key(5)] public RoleEnum CreatedRole { get; set; }
|
|
[Key(6)] public string CreatedEmail { get; set; } = null!;
|
|
[Key(7)] public SourceEnum Source { get; set; }
|
|
[Key(8)] public AnnotationStatus Status { get; set; }
|
|
}
|
|
|
|
[MessagePackObject]
|
|
public class AnnotationValidatedMessage
|
|
{
|
|
[Key(0)] public string Name { get; set; } = null!;
|
|
} |