namespace ReC.Application.Common.Procedures.InsertProcedure; public record InsertEndpointProcedure : IInsertProcedure { public bool? Active { get; set; } public string? Description { get; set; } public string? Uri { get; set; } public InsertObjectProcedure ToObjectProcedure(string? addedWho = null) { return new InsertObjectProcedure { Entity = "ENDPOINT", Endpoint = this }.AddedBy(addedWho); } }