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; #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 == null) return false; 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; return true; } public override int GetHashCode() { return base.GetHashCode(); } #endregion Public Methods } }