Files
mapo-core/MP.INVE/Data/SelectMagListParams.cs
zaccaria.majid 7a599e6441 elenco magazzini:
-creato componente separato
-aggiunta datapager
2022-11-21 10:09:04 +01:00

60 lines
1.3 KiB
C#

using MP.Data;
namespace MP.INVE.Data
{
public class SelectMagListParams
{
#region Public Constructors
public SelectMagListParams()
{ }
#endregion Public Constructors
#region Public Properties
public int CurrPage { get; set; } = 1;
public int NumRec { get; set; } = 10;
public int TotCount { get; set; } = 0;
public int MaxRecord { get; set; } = 100;
public bool inCorso { get; set; } = true;
public bool reqNew { get; set; } = false;
#endregion Public Properties
#region Public Methods
public override bool Equals(object obj)
{
if (!(obj is SelectInveSessionParams item))
return false;
if (MaxRecord != item.MaxRecord)
return false;
if (TotCount != item.TotCount)
return false;
if (NumRec != item.NumRec)
if (CurrPage != item.CurrPage)
return false;
if (inCorso != item.inCorso)
return false;
if (reqNew != item.reqNew)
return false;
return true;
}
public override int GetHashCode()
{
return base.GetHashCode();
}
#endregion Public Methods
}
}