Files
Mapo-IOB/SMGen.Data/Data/SelectSMIn2EvParams.cs
T
2023-07-31 12:20:39 +02:00

77 lines
1.8 KiB
C#

using NLog.LayoutRenderers.Wrappers;
namespace SMGen.Data
{
public class SelectSMIn2EvParams
{
#region Public Constructors
public SelectSMIn2EvParams()
{ }
#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;
public Dictionary<string, bool> FilesStatus { get; set; } = new Dictionary<string, bool>() ;
public Dictionary<string, string> Files2Download { get; set; } = new Dictionary<string, string>();
#endregion Public Properties
#region Public Methods
public SelectSMIn2EvParams clone()
{
SelectSMIn2EvParams clonedData = new SelectSMIn2EvParams()
{
CurrPage = this.CurrPage,
MaxRecord = this.MaxRecord,
NumRec = this.NumRec,
TotCount = this.TotCount
};
return clonedData;
}
public override bool Equals(object obj)
{
if (!(obj is SelectSMIn2EvParams 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;
if (FilesStatus != item.FilesStatus)
return false;
if (Files2Download != item.Files2Download)
return false;
return true;
}
public override int GetHashCode()
{
return base.GetHashCode();
}
#endregion Public Methods
}
}