diff --git a/AsbCloudApp/Data/DetectedOperation/DetectedOperationStatDto.cs b/AsbCloudApp/Data/DetectedOperation/DetectedOperationStatDto.cs index 455bdf09..e922bf6c 100644 --- a/AsbCloudApp/Data/DetectedOperation/DetectedOperationStatDto.cs +++ b/AsbCloudApp/Data/DetectedOperation/DetectedOperationStatDto.cs @@ -16,7 +16,6 @@ namespace AsbCloudApp.Data.DetectedOperation /// /// Название операции /// - [Required] public string Category { get; set; } = string.Empty; /// diff --git a/AsbCloudApp/Data/FileCategoryDto.cs b/AsbCloudApp/Data/FileCategoryDto.cs index 7c687170..0b837a7a 100644 --- a/AsbCloudApp/Data/FileCategoryDto.cs +++ b/AsbCloudApp/Data/FileCategoryDto.cs @@ -15,12 +15,11 @@ namespace AsbCloudApp.Data /// полное название /// [Required] - public string Name { get; set; } = string.Empty; + public string Name { get; set; } = null!; /// /// сокращенное название /// - [Required] public string ShortName { get; set; } = string.Empty; } } diff --git a/AsbCloudApp/Data/ProcessMaps/ProcessMapPlanBaseDto.cs b/AsbCloudApp/Data/ProcessMaps/ProcessMapPlanBaseDto.cs index 727ef374..6bc073ea 100644 --- a/AsbCloudApp/Data/ProcessMaps/ProcessMapPlanBaseDto.cs +++ b/AsbCloudApp/Data/ProcessMaps/ProcessMapPlanBaseDto.cs @@ -20,7 +20,6 @@ public abstract class ProcessMapPlanBaseDto : IId, IWellRelated /// /// Id пользователя /// - [Required] public int IdUser { get; set; } /// @@ -33,7 +32,6 @@ public abstract class ProcessMapPlanBaseDto : IId, IWellRelated /// /// Дата последнего изменения /// - [Required] public DateTimeOffset LastUpdate { get; set; } /// diff --git a/AsbCloudApp/Data/SAUB/SetpointInfoDto.cs b/AsbCloudApp/Data/SAUB/SetpointInfoDto.cs index 17859eaf..b704d0a5 100644 --- a/AsbCloudApp/Data/SAUB/SetpointInfoDto.cs +++ b/AsbCloudApp/Data/SAUB/SetpointInfoDto.cs @@ -10,7 +10,6 @@ namespace AsbCloudApp.Data.SAUB /// /// отображаемое название уставки /// - [Required] public string DisplayName { get; set; } = string.Empty; /// diff --git a/AsbCloudApp/Data/SAUB/SetpointsRequestDto.cs b/AsbCloudApp/Data/SAUB/SetpointsRequestDto.cs index 767ddae5..5ecb4932 100644 --- a/AsbCloudApp/Data/SAUB/SetpointsRequestDto.cs +++ b/AsbCloudApp/Data/SAUB/SetpointsRequestDto.cs @@ -33,7 +33,6 @@ namespace AsbCloudApp.Data.SAUB /// /// отметка времени создания запроса /// - [Required] public DateTime UploadDate { get; set; } = DateTime.Now; /// diff --git a/AsbCloudApp/Data/SAUB/TelemetryDataSaubDto.cs b/AsbCloudApp/Data/SAUB/TelemetryDataSaubDto.cs index e9dc917c..3596f70a 100644 --- a/AsbCloudApp/Data/SAUB/TelemetryDataSaubDto.cs +++ b/AsbCloudApp/Data/SAUB/TelemetryDataSaubDto.cs @@ -30,7 +30,6 @@ namespace AsbCloudApp.Data.SAUB /// /// telemetry id /// - [Required] public int IdTelemetry { get; set; } /// diff --git a/AsbCloudApp/Data/SAUB/TelemetryDataSpinDto.cs b/AsbCloudApp/Data/SAUB/TelemetryDataSpinDto.cs index f08a40ab..1f37036b 100644 --- a/AsbCloudApp/Data/SAUB/TelemetryDataSpinDto.cs +++ b/AsbCloudApp/Data/SAUB/TelemetryDataSpinDto.cs @@ -11,7 +11,6 @@ namespace AsbCloudApp.Data.SAUB /// /// Идентификатор телеметрии /// - [Required] public int IdTelemetry { get; set; } /// diff --git a/AsbCloudApp/Data/WITS/RecordBaseDto.cs b/AsbCloudApp/Data/WITS/RecordBaseDto.cs index f31bc48c..34cd0f5b 100644 --- a/AsbCloudApp/Data/WITS/RecordBaseDto.cs +++ b/AsbCloudApp/Data/WITS/RecordBaseDto.cs @@ -13,7 +13,6 @@ namespace AsbCloudApp.Data.WITS public int Id { get; set; } /// - [Required] public int IdTelemetry { get; set; } ///