moving from Yavsc main lib

This commit is contained in:
Paul Schneider 2018-05-07 10:07:37 +02:00
commit 40b625dc74
26 changed files with 1143 additions and 37 deletions

View file

@ -0,0 +1,15 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace Yavsc.Models.Identity
{
public class BlackListedUserName : IWatchedUserName {
[Key]
[StringLength(1024)]
public string Name { get; set;}
}
}

View file

@ -0,0 +1,12 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using Yavsc.Interfaces;
namespace Yavsc.Models.Identity
{
public interface IWatchedUserName : INamedObject {
}
}

View file

@ -0,0 +1,15 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace Yavsc.Models.Identity
{
public class ReservedUserName : IWatchedUserName {
[Key]
[StringLength(1024)]
public string Name { get; set;}
}
}