80 lines
1.9 KiB
C#
80 lines
1.9 KiB
C#
using MP.Data;
|
|
|
|
namespace MP.INVE.Data
|
|
{
|
|
public class SelectInveSessionParams
|
|
{
|
|
#region Public Constructors
|
|
|
|
public SelectInveSessionParams()
|
|
{ }
|
|
|
|
#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 string idOperatore { get; set; } = "";
|
|
public string authKey { get; set; } = "";
|
|
public int currIdSession { get; set; } = 0;
|
|
public int currIdMag { get; set; } = 0;
|
|
public bool reqNew { get; set; } = false;
|
|
public string searchVal { get; set; } = "";
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Public Methods
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
if (!(obj is SelectInveSessionParams item))
|
|
return false;
|
|
|
|
if (searchVal != item.searchVal)
|
|
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 (idOperatore != item.idOperatore)
|
|
return false;
|
|
|
|
if (currIdSession != item.currIdSession)
|
|
return false;
|
|
|
|
if (currIdMag != item.currIdMag)
|
|
return false;
|
|
|
|
if (authKey != item.authKey)
|
|
return false;
|
|
|
|
if (reqNew != item.reqNew)
|
|
return false;
|
|
|
|
|
|
return true;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return base.GetHashCode();
|
|
}
|
|
|
|
#endregion Public Methods
|
|
}
|
|
} |