24 lines
790 B
C#
24 lines
790 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 Email { get; set; }
|
|
public string Phone { get; set; }
|
|
public short Type { get; set; }
|
|
public bool PreferredResourceAllocation { get; set; }
|
|
public string PagePreferences { get; set; }
|
|
}
|
|
|
|
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
|
|
{
|
|
public ApplicationDbContext()
|
|
: base("DefaultConnection")
|
|
{
|
|
}
|
|
}
|
|
} |