wei
2021-09-26 dd3fecc3a8b92b377febfcf92d32ec22a07724f6
HDL_ON/Entity/DB_ResidenceData.cs
@@ -447,5 +447,23 @@
        }
        #endregion
        /// <summary>
        /// 上一次提示的时间
        /// </summary>
        public DateTime LastTipTime = DateTime.MinValue;
        /// <summary>
        /// 是否需要提示
        /// </summary>
        public bool NeedTip
        {
            get
            {
                return (DateTime.Now - LastTipTime).TotalDays > 2;
            }
        }
    }
}