mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
begin adding many-to-many between langs and lists
This commit is contained in:
parent
b3c5744f97
commit
565b756280
3 changed files with 6 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ public class FilterList : BaseEntity
|
|||
public string ForumUrl { get; set; }
|
||||
public string HomeUrl { get; set; }
|
||||
public string IssuesUrl { get; set; }
|
||||
public List<Language> Languages { get; set; }
|
||||
public ICollection<Language> Languages { get; set; }
|
||||
public int MaintainerId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string ViewUrl { get; set; }
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
namespace FilterLists.Data.Entities
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace FilterLists.Data.Entities
|
||||
{
|
||||
public class Language : BaseEntity
|
||||
{
|
||||
public ICollection<FilterList> FilterLists { get; set; }
|
||||
public string Iso6391 { get; set; }
|
||||
public string Iso6392 { get; set; }
|
||||
public string Iso6392B { get; set; }
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace FilterLists.Data.Entities
|
|||
public class Maintainer : BaseEntity
|
||||
{
|
||||
public string Email { get; set; }
|
||||
public List<FilterList> FilterLists { get; set; }
|
||||
public ICollection<FilterList> FilterLists { get; set; }
|
||||
public string HomeUrl { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string TwitterHandle { get; set; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue