0e9e7f3dda
con relativi filtri
53 lines
1.2 KiB
C#
53 lines
1.2 KiB
C#
namespace MP.SPEC.Data
|
|
{
|
|
public class SelectDossierParams
|
|
{
|
|
#region Public Constructors
|
|
|
|
public SelectDossierParams()
|
|
{ }
|
|
|
|
#endregion Public Constructors
|
|
|
|
#region Public Properties
|
|
public string IdxMacchina { get; set; } = "*";
|
|
|
|
public int MaxRecord { get; set; } = 100;
|
|
public DateTime DtRef { get; set; } = DateTime.Now;
|
|
public int CurrPage { get; set; } = 1;
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Public Methods
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
if (!(obj is SelectDossierParams item))
|
|
return false;
|
|
|
|
if (IdxMacchina != item.IdxMacchina)
|
|
return false;
|
|
|
|
////if (MaxRecord != item.MaxRecord)
|
|
//// return false;
|
|
|
|
if (DtRef != item.DtRef)
|
|
return false;
|
|
|
|
if (CurrPage != item.CurrPage)
|
|
return false;
|
|
|
|
//if (lastUpdate != item.lastUpdate)
|
|
// return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return base.GetHashCode();
|
|
}
|
|
|
|
#endregion Public Methods
|
|
}
|
|
} |