ok controllo stati/eventi mancanti su db

This commit is contained in:
zaccaria.majid
2023-09-20 11:55:48 +02:00
parent 16f68cdd5f
commit b5fa1ffa35
8 changed files with 168 additions and 73 deletions
+68
View File
@@ -0,0 +1,68 @@
using NLog.LayoutRenderers.Wrappers;
namespace SMGen.Data
{
public class SelectRulFixParams
{
#region Public Constructors
public SelectRulFixParams()
{ }
#endregion Public Constructors
#region Public Properties
public int CurrPage { get; set; } = 1;
public int MaxRecord { get; set; } = 100;
public int NumRec { get; set; } = 10;
public int TotCount { get; set; } = 0;
#endregion Public Properties
#region Public Methods
public SelectRulFixParams clone()
{
SelectRulFixParams clonedData = new SelectRulFixParams()
{
CurrPage = this.CurrPage,
MaxRecord = this.MaxRecord,
NumRec = this.NumRec,
TotCount = this.TotCount
};
return clonedData;
}
public override bool Equals(object obj)
{
if (!(obj is SelectRulFixParams item))
return false;
if (MaxRecord != item.MaxRecord)
return false;
if (NumRec != item.NumRec)
return false;
if (TotCount != item.TotCount)
return false;
if (CurrPage != item.CurrPage)
return false;
return true;
}
public override int GetHashCode()
{
return base.GetHashCode();
}
#endregion Public Methods
}
}