using NLog.LayoutRenderers.Wrappers; namespace SMGen.Data { public class SelectFamIngParams { #region Public Constructors public SelectFamIngParams() { } #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 SelectFamIngParams clone() { SelectFamIngParams clonedData = new SelectFamIngParams() { 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 SelectFamIngParams 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 } }