8ce8db5f30
Added DB importer
22 lines
607 B
C#
22 lines
607 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
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; }
|
|
public virtual ICollection<EFPenalty> ReceivedPenalties { get; set; }
|
|
|
|
public EFAliasLink()
|
|
{
|
|
Children = new List<EFAlias>();
|
|
ReceivedPenalties = new List<EFPenalty>();
|
|
}
|
|
}
|
|
}
|