From 42f3c3edd1e08638730ad862b4641f48d791de73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D1=8F=20=D0=91=D0=B8=D0=B7=D1=8E=D0=BA=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0?= Date: Wed, 17 Jan 2024 11:51:57 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=BE=20=D1=80=D0=B5=D0=B7=D1=83=D0=BB=D1=8C=D1=82=D0=B0=D1=82?= =?UTF-8?q?=D0=B0=D0=BC=20=D1=80=D0=B5=D0=B2=D1=8C=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AsbCloudApp/Data/DetectedOperation/DetectedOperationStatDto.cs | 1 - AsbCloudApp/Data/FileCategoryDto.cs | 3 +-- AsbCloudApp/Data/ProcessMaps/ProcessMapPlanBaseDto.cs | 2 -- AsbCloudApp/Data/SAUB/SetpointInfoDto.cs | 1 - AsbCloudApp/Data/SAUB/SetpointsRequestDto.cs | 1 - AsbCloudApp/Data/SAUB/TelemetryDataSaubDto.cs | 1 - AsbCloudApp/Data/SAUB/TelemetryDataSpinDto.cs | 1 - AsbCloudApp/Data/WITS/RecordBaseDto.cs | 1 - 8 files changed, 1 insertion(+), 10 deletions(-) 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; } ///