﻿using System;
using System.ComponentModel.DataAnnotations;
using Project.API.Base.Models;
using Project.Resources.Core.Messages;

namespace Project.API.Core.Models.Usuario
{
    public class UsuarioModel : IdentityModelBase<Guid>, IIdentityModelBase<Guid>
    {
        /// <summary>
        ///     E-MAIL
        /// </summary>
        [Display(Name = "E-mail")]
        [Required(ErrorMessageResourceName = "REQUIRED_FIELD", ErrorMessageResourceType = typeof(VALIDATION_MESSAGES))]
        public virtual object Email { get; set; }
    }
}