LoginDto.cs 382 B

12345678910111213141516
  1. using System.ComponentModel.DataAnnotations;
  2. namespace MTWorkHR.Application.Models
  3. {
  4. public class LoginDto
  5. {
  6. public string? Tenant { get; set; }
  7. [Required(ErrorMessage = "User Name is required")]
  8. public string UserName { get; set; }
  9. [Required(ErrorMessage = "Password is required")]
  10. public string Password { get; set; }
  11. }
  12. }