CodeLiturgy.Dashboard/CodeLiturgy.Views/Application/ApplicationUser/ApplicationUser.cs

26 lines
734 B
C#
Raw Normal View History

2022-11-18 01:37:10 +03:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
2022-11-18 03:15:53 +03:00
using CodeLiturgy.Data;
using CodeLiturgy.Data.Application;
2022-11-18 01:39:36 +03:00
using CodeLiturgy.Data.Application;
2022-11-18 01:37:10 +03:00
using MapTo;
using Microsoft.AspNetCore.Identity;
2022-11-18 03:15:53 +03:00
namespace CodeLiturgy.Data.Application.Users
2022-11-18 01:37:10 +03:00
{
/// <summary>
/// Application User in the Identity System.
/// </summary>
[MapFrom(typeof(ApplicationUserUnique))]
[UseUpdate]
public partial class ApplicationUser : IdentityUser<string>
{
2022-12-02 05:31:11 +03:00
public new string Id { get; set; }
2022-11-18 01:37:10 +03:00
public List<SiteEnvironment> Environments { get; set; }
2022-11-30 18:52:55 +03:00
public List<Site> Sites { get; set; }
2022-11-18 01:37:10 +03:00
}
}