agregado procesos y bd clases
This commit is contained in:
14
bdAsegasa/Extensiones/GrupoLiquidacionCias.cs
Normal file
14
bdAsegasa/Extensiones/GrupoLiquidacionCias.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace bdAsegasa.db
|
||||
{
|
||||
public class GrupoLiquidacionCias
|
||||
{
|
||||
public double NumeroGeneracion { get; set; }
|
||||
public DateTime FechaGeneracion { get; set; }
|
||||
public List<pagosliquidacionescias> Pagos { get; set; } = new List<pagosliquidacionescias>();
|
||||
public double TotalLiquidacion => Math.Round(Pagos.Sum(x => x.ImportePago), 2, MidpointRounding.AwayFromZero);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user