Files
BeWoPlaner/Data/Entities/Rating.cs

39 lines
941 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
2024-12-30 16:09:20 +01:00
using System.Diagnostics;
using BS.Shared;
namespace BeWo.Data.Entities
{
2024-12-30 16:09:20 +01:00
[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;
}
}
}
}
}