51 lines
1.1 KiB
C#
51 lines
1.1 KiB
C#
using MP.Data;
|
|
|
|
namespace MP.INVE.Data
|
|
{
|
|
public class SelectInvioParams
|
|
{
|
|
#region Public Constructors
|
|
|
|
public SelectInvioParams()
|
|
{ }
|
|
|
|
#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;
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Public Methods
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
if (!(obj is SelectInvioParams 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;
|
|
|
|
return true;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return base.GetHashCode();
|
|
}
|
|
|
|
#endregion Public Methods
|
|
}
|
|
} |