From cacd5eddbe5fd1d4e7fca79f1ca5d3965c35e8ca Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 1 Dec 2025 15:55:23 +0100 Subject: [PATCH] Make `Id` property in `Endpoint` class non-nullable The `Id` property in the `Endpoint` class was changed from a nullable `long?` to a non-nullable `long`. This ensures that the `Id` property is always assigned a value and cannot be `null`, improving data integrity and aligning with potential database or application requirements. --- src/ReC.Domain/Entities/Endpoint.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReC.Domain/Entities/Endpoint.cs b/src/ReC.Domain/Entities/Endpoint.cs index 2ac1004..a807ee2 100644 --- a/src/ReC.Domain/Entities/Endpoint.cs +++ b/src/ReC.Domain/Entities/Endpoint.cs @@ -10,7 +10,7 @@ public class Endpoint [Key] [Column("GUID")] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] - public long? Id { get; set; } + public long Id { get; set; } [Column("ACTIVE")] public bool? Active { get; set; }