Initial commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using Church.Net.Entity;
|
||||
using System;
|
||||
|
||||
namespace WebAPI.ViewModel
|
||||
{
|
||||
public class RegisterViewModel
|
||||
{
|
||||
public string OAuthType { get; set; }
|
||||
public string AccessToken { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string ConfirmPassword { get; set; }
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public string AvatarImage { get; set; }
|
||||
}
|
||||
public class OAuthRegisterViewModel
|
||||
{
|
||||
public string Type { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string AccessToken { get; set; }
|
||||
public string FullName { get; set; }
|
||||
public string AvatarImage { get; set; }
|
||||
}
|
||||
public class LoginTokenViewModel
|
||||
{
|
||||
public string MemberId { get; set; }
|
||||
public string Token { get; set; }
|
||||
public DateTime TokenExpireTime { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public string AvatarImage { get; set; }
|
||||
public Role Role { get; set; }
|
||||
public PastoralDomain CellGroup { get; set; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user