Spaces:
Running

danylokhodus's picture
Claude Opus 5.5
feat: remove AI assistant, Free/Plus plans, user templates API, security fixes
6d07d79
Raw History Blame Contribute Delete
1.29 kB
namespace FlowAPI.Application.DTOs.User
{
public class CreateUserDto
{
public string Email { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
public string DisplayName { get; set; } = string.Empty;
}
public class UpdateUserDto
{
public string? DisplayName { get; set; }
public string? AvatarUrl { get; set; }
public string? Password { get; set; }
}
public class LoginDto
{
public string Email { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
}
public class UserResponseDto
{
public Guid Id { get; set; }
public string Email { get; set; } = string.Empty;
public string DisplayName { get; set; } = string.Empty;
public bool IsPremium { get; set; }
public string? AvatarUrl { get; set; }
public DateTime CreatedAt { get; set; }
public string SubscriptionTier { get; set; } = "Free";
}
public class AuthResponseDto
{
public UserResponseDto User { get; set; } = null!;
public string Token { get; set; } = string.Empty;
}
public class GoogleLoginDto
{
public string IdToken { get; set; } = string.Empty;
}
}