IW4M-Admin/Data/Models/EFAliasLink.cs

20 lines
518 B
C#
Raw Normal View History

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Data.Models
{
public class EFAliasLink : SharedEntity
{
[Key]
public int AliasLinkId { get; set; }
public virtual ICollection<EFAlias> Children { get; set; }
2017-11-29 19:35:50 -05:00
public virtual ICollection<EFPenalty> ReceivedPenalties { get; set; }
public EFAliasLink()
{
Children = new List<EFAlias>();
2017-11-29 19:35:50 -05:00
ReceivedPenalties = new List<EFPenalty>();
}
}
}