EnVisageOnline/Main-RMO/Source/EnVisage/Models/IdentityModels.cs

26 lines
889 B
C#

using EnVisage.Code;
using Microsoft.AspNet.Identity.EntityFramework;
using System.ComponentModel.DataAnnotations;
namespace EnVisage.Models
{
// You can add profile data for the user by adding more properties to your ApplicationUser class, please visit http://go.microsoft.com/fwlink/?LinkID=317594 to learn more.
public class ApplicationUser : IdentityUser
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
public string Phone { get; set; }
public short Type { get; set; }
public bool PreferredResourceAllocation { get; set; }
public bool PreferredTotalsDisplaying { get; set; }
}
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext()
: base("DefaultConnection")
{
}
}
}