Files
GestionIntegralWeb/Backend/GestionIntegral.Api/Models/Dtos/Auditoria/NotaCreditoDebitoHistorialDto.cs

26 lines
1.1 KiB
C#
Raw Normal View History

using System;
namespace GestionIntegral.Api.Dtos.Auditoria
{
public class NotaCreditoDebitoHistorialDto
{
// Campos de la tabla _H (cue_CreditosDebitos_H)
public int Id_Nota { get; set; } // ID de la nota original
public string Destino { get; set; } = string.Empty;
public int Id_Destino { get; set; }
// public string NombreDestinatario { get; set; } // Opcional, si lo quieres traer con JOIN
public string? Referencia { get; set; }
public string Tipo { get; set; } = string.Empty; // "Debito" o "Credito"
public DateTime Fecha { get; set; } // Fecha original de la nota
public decimal Monto { get; set; }
public string? Observaciones { get; set; }
public int Id_Empresa { get; set; }
// public string NombreEmpresa { get; set; } // Opcional
// Campos de auditoría
public int Id_Usuario { get; set; }
public string NombreUsuarioModifico { get; set; } = string.Empty;
public DateTime FechaMod { get; set; }
public string TipoMod { get; set; } = string.Empty;
}
}