Add some required attributes

This commit is contained in:
Frolov-Nikita 2024-01-21 12:52:46 +05:00
parent b454322934
commit b13353b994
No known key found for this signature in database
GPG Key ID: 719E3386D12B0760
2 changed files with 3 additions and 0 deletions

View File

@ -23,11 +23,13 @@ namespace AsbCloudApp.Data.GTR
/// <summary>
/// Дата создания записи
/// </summary>
[Required]
public DateTime Date { get; set; }
/// <summary>
/// Значение
/// </summary>
[Required]
public JsonValue Value { get; set; } = default!;
}
}

View File

@ -18,6 +18,7 @@ namespace AsbCloudApp.Data.GTR
/// <summary>
/// Дата создания записи
/// </summary>
[Required]
public DateTime Date { get; set; }
/// <summary>