mirror of
https://github.com/sphildreth/roadie
synced 2024-11-12 23:47:07 +00:00
18 lines
No EOL
390 B
C#
18 lines
No EOL
390 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Roadie.Api.Models
|
|
{
|
|
public class RegisterModel : LoginModel
|
|
{
|
|
[Required]
|
|
[EmailAddress]
|
|
public string Email { get; set; }
|
|
|
|
[Required]
|
|
[Compare("Password")]
|
|
public string PasswordConfirmation { get; set; }
|
|
|
|
public Guid? InviteToken { get; set; }
|
|
}
|
|
} |