2024-05-02 15:24:13 -07:00

40 lines
1.2 KiB
C#

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; }
}
}