19 lines
		
	
	
		
			775 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			775 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| 
 | |
| namespace GestionIntegral.Api.Models.Contables
 | |
| {
 | |
|     public class SaldoAjusteHistorial
 | |
|     {
 | |
|         public int IdSaldoAjusteHist { get; set; } // PK, Identity
 | |
|         public string Destino { get; set; } = string.Empty;
 | |
|         public int IdDestino { get; set; }
 | |
|         public int IdEmpresa { get; set; }
 | |
|         public decimal MontoAjuste { get; set; } // El monto que se sumó/restó
 | |
|         public decimal SaldoAnterior { get; set; }
 | |
|         public decimal SaldoNuevo { get; set; }
 | |
|         public string Justificacion { get; set; } = string.Empty;
 | |
|         public DateTime FechaAjuste { get; set; }
 | |
|         public int IdUsuarioAjuste { get; set; }
 | |
|         // Podrías añadir NombreUsuarioAjuste si quieres desnormalizar o hacer un JOIN al consultar
 | |
|     }
 | |
| } |