39 lines
941 B
C#
39 lines
941 B
C#
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<GoalRating> _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<GoalRating> GoalRatingList
|
|
{
|
|
get { return _GoalRatingList ?? (_GoalRatingList = new List<GoalRating>()); }
|
|
|
|
set
|
|
{
|
|
if (AreDifferent(_GoalRatingList, value))
|
|
{
|
|
_GoalRatingList = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |