From 4d6df7ccc8f31b1f2ac805d1d35dd2952808c8e3 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 1 Dec 2025 15:45:04 +0100 Subject: [PATCH] Add CreateEndpointCommand and Endpoint classes Introduced the `CreateEndpointCommand` class as a placeholder for future implementation. Added the `Endpoint` class with properties `Active`, `Description`, and `Uri` to represent endpoint details. Included necessary `using` directives and organized the code under the `ReC.Application.Endpoints.Commands` namespace. --- .../Commands/CreateEndpointCommand.cs | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/ReC.Application/Endpoints/Commands/CreateEndpointCommand.cs diff --git a/src/ReC.Application/Endpoints/Commands/CreateEndpointCommand.cs b/src/ReC.Application/Endpoints/Commands/CreateEndpointCommand.cs new file mode 100644 index 0000000..4472ea5 --- /dev/null +++ b/src/ReC.Application/Endpoints/Commands/CreateEndpointCommand.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ReC.Application.Endpoints.Commands; + +public class CreateEndpointCommand +{ +} + +public class Endpoint +{ + public bool Active { get; set; } = true; + + public string? Description { get; set; } + + public string Uri { get; set; } = null!; +} \ No newline at end of file