IW4M-Admin/SharedLibrary/Database/Models/EFAliasLink.cs

22 lines
607 B
C#
Raw Normal View History

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
2017-11-29 19:35:50 -05:00
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
namespace SharedLibrary.Database.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>();
}
}
}