52 lines
1.4 KiB
C#
52 lines
1.4 KiB
C#
namespace EgwCoreLib.Lux.Core
|
|
{
|
|
/// <summary>
|
|
/// Filtro selezione items
|
|
/// </summary>
|
|
public class FiltSelect
|
|
{
|
|
#region Public Properties
|
|
|
|
public string SearchVal { get; set; } = "";
|
|
public string SelCodGroup { get; set; } = "";
|
|
public EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS Envir { get; set; } = EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.NULL;
|
|
public Enums.ItemClassType SelType { get; set; } = Enums.ItemClassType.ND;
|
|
public Enums.ItemSourceType SourceType { get; set; } = Enums.ItemSourceType.ND;
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Public Methods
|
|
|
|
public override bool Equals(object? obj)
|
|
{
|
|
if (obj == null)
|
|
return false;
|
|
if (!(obj is FiltSelect item))
|
|
return false;
|
|
|
|
if (Envir != item.Envir)
|
|
return false;
|
|
|
|
if (SelCodGroup != item.SelCodGroup)
|
|
return false;
|
|
|
|
if (SelType != item.SelType)
|
|
return false;
|
|
|
|
if (SourceType != item.SourceType)
|
|
return false;
|
|
|
|
if (SearchVal != item.SearchVal)
|
|
return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return base.GetHashCode();
|
|
}
|
|
|
|
#endregion Public Methods
|
|
}
|
|
} |