namespace GoodBooks.PAY.PAYDAL.DTO.Loyalty { /// /// Maps to MLOYALTYTIER — a simple child table of MLOYALTYPROGRAM. /// No standard audit fields (Version/Status/SortOrder/CreatedById etc.) on this table. /// Ordering is controlled by the SLNO column. /// public class LoyaltyTierDTO { #region PrivateMembers private int loyaltytierid; private int loyaltyprogramid; private short slno; private string tiercode; private string tiername; private decimal minpoints; private decimal maxpoints; private decimal earnmultiplier; private string remarks; #endregion #region PublicProperties public int LoyaltyTierId { get { return loyaltytierid; } set { loyaltytierid = value; } } public int LoyaltyProgramId { get { return loyaltyprogramid; } set { loyaltyprogramid = value; } } /// Display/sort sequence within the program (1-based). public short SlNo { get { return slno; } set { slno = value; } } public string TierCode { get { return tiercode; } set { tiercode = value; } } public string TierName { get { return tiername; } set { tiername = value; } } /// Minimum lifetime points required to enter this tier. public decimal MinPoints { get { return minpoints; } set { minpoints = value; } } /// Maximum lifetime points for this tier (exclusive upper bound). public decimal MaxPoints { get { return maxpoints; } set { maxpoints = value; } } /// Multiplier applied to the base earn rate for members in this tier. public decimal EarnMultiplier { get { return earnmultiplier; } set { earnmultiplier = value; } } public string Remarks { get { return remarks; } set { remarks = value; } } #endregion } }