using System; using System.Collections.Generic; using System.Diagnostics; using BS.Shared; namespace BeWo.Data.Entities { [DebuggerDisplay("{StartDate}: {DisplayName}")] public class Rating : BeWoEntityBase { private IList _GoalRatingList; public Rating() { this._Tid = TableID.Rating; } public virtual string DisplayName { get; set; } public virtual string RTFNotice { get; set; } public virtual DateTime? StartDate { get; set; } public virtual int? RatingId { get; set; } public virtual IList GoalRatingList { get { return _GoalRatingList ?? (_GoalRatingList = new List()); } set { if (AreDifferent(_GoalRatingList, value)) { _GoalRatingList = value; } } } } }