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

22 lines
611 B
C#
Raw Permalink 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;
2018-04-08 02:44:42 -04:00
namespace SharedLibraryCore.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>();
}
}
}