public VipSetting FindByVipLevel(UserVipLevel vipLevel) { //var cacheKey = CacheKey.VIP_SETTING_KEY + "DOMAIN_" + vipLevel.ToString("D"); //VipSetting vipSetting; //if (!Cache.TryGet<VipSetting>(cacheKey, out vipSetting)) var vipSetting = base.FindById<VipSetting>((int)(vipLevel)); return vipSetting; }
public VipSettingModifyScoreLine(UserVipLevel vipSettingLevel, int scoreLine, int byUserID) { this.UserVipLevel = vipSettingLevel; this.ScoreLine = scoreLine; this.ByUserID = byUserID; }
public VipSettingModifyVoteCount(UserVipLevel vipSettingLevel, int voteCount, int byUserID) { this.UserVipLevel = vipSettingLevel; this.VoteCount = voteCount; this.ByUserID = byUserID; }
public VipSettingModifyDiscount(UserVipLevel vipSettingLevel, decimal discount, int byUserID) { this.UserVipLevel = vipSettingLevel; this.Discount = discount; this.ByUserID = byUserID; }