2017-11-25 20:29:58 -05:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2017-11-29 19:35:50 -05:00
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using System.Linq;
|
2017-11-25 20:29:58 -05:00
|
|
|
|
|
|
|
|
|
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; }
|
2017-11-25 20:29:58 -05:00
|
|
|
|
|
|
|
|
|
public EFAliasLink()
|
|
|
|
|
{
|
|
|
|
|
Children = new List<EFAlias>();
|
2017-11-29 19:35:50 -05:00
|
|
|
|
ReceivedPenalties = new List<EFPenalty>();
|
2017-11-25 20:29:58 -05:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|