18 lines
464 B
C#
18 lines
464 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace WebAPI.Models;
|
|
|
|
public class DataInbox
|
|
{
|
|
#region Properties
|
|
[Key]
|
|
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; set; }
|
|
#endregion
|
|
} |