Files
SHERPA/SHERPA.AD/Data/SelectVat.cs
T
2023-06-30 16:48:12 +02:00

68 lines
1.7 KiB
C#

namespace SHERPA.AD.Data
{
public class SelectVat
{
#region Public Properties
public bool Active { get; set; } = false;
public int CurrPage { get; set; } = 1;
public int NumRecord { get; set; } = 10;
public bool OnlySync { get; set; } = false;
public string SearchVal { get; set; } = "";
public bool ShowFilt { get; set; } = true;
#endregion Public Properties
#region Public Methods
public SelectVat clone()
{
SelectVat clonedData = new SelectVat()
{
Active = this.Active,
CurrPage = this.CurrPage,
NumRecord = this.NumRecord,
OnlySync = this.OnlySync,
SearchVal = this.SearchVal,
ShowFilt = this.ShowFilt
};
return clonedData;
}
public override bool Equals(object? obj)
{
if (obj == null)
return false;
if (!(obj is SelectVat item))
return false;
if (Active != item.Active)
return false;
if (CurrPage != item.CurrPage)
return false;
if (NumRecord != item.NumRecord)
return false;
if (OnlySync != item.OnlySync)
return false;
if (SearchVal != item.SearchVal)
return false;
if (ShowFilt != item.ShowFilt)
return false;
return true;
}
public override int GetHashCode()
{
return base.GetHashCode();
}
#endregion Public Methods
}
}