forked from ddrilling/AsbCloudServer
Add some required attributes
This commit is contained in:
parent
b454322934
commit
b13353b994
@ -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!;
|
||||
}
|
||||
}
|
@ -18,6 +18,7 @@ namespace AsbCloudApp.Data.GTR
|
||||
/// <summary>
|
||||
/// Дата создания записи
|
||||
/// </summary>
|
||||
[Required]
|
||||
public DateTime Date { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user