Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using System.ComponentModel.DataAnnotations;
namespace Company.Application.WebApi.VM
{
/// <summary>
/// Login için kullanıcıdan istenen bilgileri taşır
/// </summary>
public class LoginModel
{
/// <summary>
/// Email alanı zorunludur
/// </summary>
[Required]
public string Email { get; set; }
/// <summary>
/// Parola alanı zorunludur
/// </summary>
[Required]
public string Password { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment