namespace ReC.Application.Common.Procedures.UpdateProcedure; public record UpdateEndpointAuthProcedure : IUpdateProcedure { public bool? Active { get; set; } public string? Description { get; set; } public byte? TypeId { get; set; } public string? ApiKey { get; set; } public string? ApiValue { get; set; } public bool? ApiKeyAddToId { get; set; } public string? Token { get; set; } public string? Username { get; set; } public string? Password { get; set; } public string? Domain { get; set; } public string? Workstation { get; set; } public UpdateObjectProcedure ToObjectProcedure(long guid, string? changedWho = null) { return new UpdateObjectProcedure { Entity = "ENDPOINT_AUTH", Guid = guid, EndpointAuth = this }.ChangedBy(changedWho); } }