big changes
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
namespace ZA.CoreService.ESBCertificateManager.Models;
|
||||
|
||||
public sealed class SonicCredentialProfile
|
||||
{
|
||||
public int SonicCredentialId { get; init; }
|
||||
|
||||
public int SonicConnectionId { get; init; }
|
||||
|
||||
public required string CredentialName { get; init; }
|
||||
|
||||
public required string UserName { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Durch Microsoft.Data.SqlClient clientseitig entschlüsselt.
|
||||
/// Darf niemals angezeigt oder protokolliert werden.
|
||||
/// </summary>
|
||||
public required string Secret { get; init; }
|
||||
|
||||
public bool IsDefault { get; init; }
|
||||
|
||||
public bool IsActive { get; init; }
|
||||
|
||||
public bool IsComplete =>
|
||||
!string.IsNullOrWhiteSpace(UserName)
|
||||
&& !string.IsNullOrEmpty(Secret);
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return CredentialName;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user