|
namespace PiwigoDirectorySync;
|
|
|
|
public class Settings
|
|
{
|
|
public string DbProvider { get; set; } = null!;
|
|
public string ImageRootDirectory { get; set; } = null!;
|
|
|
|
public bool HasErrors => string.IsNullOrEmpty(DbProvider) || string.IsNullOrEmpty(ImageRootDirectory);
|
|
} |