additional indizes and SongNumber Column

This commit is contained in:
2019-03-17 21:23:41 +01:00
parent e115301ea2
commit 4f06467469
11 changed files with 266 additions and 5 deletions

View File

@@ -1,10 +1,14 @@
namespace API.Models {
using System.ComponentModel.DataAnnotations.Schema;
namespace API.Models {
public class User {
public int ID { get; set; }
public long ID { get; set; }
[Index(IsUnique = true)]
public string Account { get; set; }
public string Pass { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
[Index(IsUnique = true)]
public string Email { get; set; }
public Access Access { get; set; }
}