11 lines
		
	
	
		
			410 B
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			410 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								using System.ComponentModel.DataAnnotations;
							 | 
						||
| 
								 | 
							
								namespace GestionIntegral.Api.Dtos.Usuarios
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    public class SetPasswordRequestDto
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        [Required]
							 | 
						||
| 
								 | 
							
								        [StringLength(50, MinimumLength = 6, ErrorMessage = "La nueva contraseña debe tener al menos 6 caracteres.")]
							 | 
						||
| 
								 | 
							
								        public string NewPassword { get; set; } = string.Empty;
							 | 
						||
| 
								 | 
							
								        public bool ForceChangeOnNextLogin { get; set; } = true;
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |