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

23 lines
566 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Helpers;
namespace EnVisage.Models
{
public class ActivationUserModel : RegisterUserModel
{
[Required]
[MaxLength(100)]
[DataType(DataType.Password)]
[Display(Name = "Password")]
public string Password { get; set; }
[Required]
[MaxLength(100)]
[DataType(DataType.Password)]
[Display(Name = "Confirmation password")]
[Compare("Password")]
public string ConfirmationPassword { get; set; }
public string UserId { get; set; }
}
}