namespace IWS5.Core.DTO;

public record ConnectionListItemDTO
{
    public int Id { get; private set; }
    public string Name { get; private set; }
    public string Description { get; private set; }
    public string ConnectionString { get; private set; }
    public string UserName { get; private set; }
    public string Password { get; private set; }

    public ConnectionListItemDTO(int id, string name, string description, string connectionString, string userName, string password)
    {
        Id = id;
        Name = name;
        Description = description;
        ConnectionString = connectionString;
        UserName = userName;
        Password = password;
    }
}
