Refinamiento de permisos y ajustes en controles. Añade gestión sobre saldos y visualización. Entre otros..
This commit is contained in:
9
Backend/GestionIntegral.Api/Models/Contables/Saldo.cs
Normal file
9
Backend/GestionIntegral.Api/Models/Contables/Saldo.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
public class Saldo
|
||||
{
|
||||
public int IdSaldo { get; set; }
|
||||
public string Destino { get; set; } = string.Empty;
|
||||
public int IdDestino { get; set; }
|
||||
public decimal Monto { get; set; }
|
||||
public int IdEmpresa { get; set; }
|
||||
public DateTime FechaUltimaModificacion { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user