session-companion/SessionCompanion/SessionCompanion.ViewModels/UserViewModels/UserRegisterViewModel.cs

20 lines
442 B
C#

namespace SessionCompanion.ViewModels.UserViewModels
{
using System.ComponentModel.DataAnnotations;
public class UserRegisterViewModel
{
/// <summary>
/// Nazwa użytkowika
/// </summary>
[Required]
public string Username { get; set; }
/// <summary>
/// Hasło użytkownika
/// </summary>
[Required]
public string Password { get; set; }
}
}