WIP: DataInbox API (PUT/GET)

This commit is contained in:
Michał Zieliski
2024-07-03 22:05:04 +02:00
parent b3f453b924
commit 26850c73ef
2 changed files with 17 additions and 6 deletions

View File

@@ -6,13 +6,13 @@ public class DataInbox
{
#region Properties
[Key]
public Guid Id { get; init; }
public Guid Id { get; set; }
[StringLength(50)]
public required string Name { get; init; }
[StringLength(50)]
public required string Source { get; set; }
[StringLength(int.MaxValue)]
public required string Data { get; init; }
public DateTime CreatedAt { get; init; }
public DateTime CreatedAt { get; set; }
#endregion
}