using ReC.Application.Common.Procedures.InsertProcedure; namespace ReC.Application.EndpointParams.Commands; public record InsertEndpointParamsProcedure : IInsertProcedure { public bool? Active { get; set; } public string? Description { get; set; } public short? GroupId { get; set; } public byte? Sequence { get; set; } public string? Key { get; set; } public string? Value { get; set; } public InsertObjectProcedure ToObjectProcedure(string? addedWho = null) { return new InsertObjectProcedure { Entity = "ENDPOINT_PARAMS", EndpointParams = this }.AddedBy(addedWho); } }