agregado procesos y bd clases

This commit is contained in:
2026-04-28 11:52:16 +02:00
parent 59a774c397
commit cd2e8b8530
251 changed files with 56881 additions and 49 deletions

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdAsegasa.db;
[AddINotifyPropertyChangedInterface]
public partial class agrupacionrecibossepa
{
public int idagrupacionrecibossepa { get; set; }
public DateTime? Fecha { get; set; }
public int? idUsuario { get; set; }
public double? Total { get; set; }
public virtual ICollection<detallesagrupacionrecibossepa> detallesagrupacionrecibossepa { get; set; } = new List<detallesagrupacionrecibossepa>();
public virtual usuarios? idUsuarioNavigation { get; set; }
}

View File

@@ -15,7 +15,7 @@ public partial class amortizacionrecibos
public DateOnly FechaFinAmortizacion { get; set; }
public double? PorcentajeAnual { get; set; }
public double PorcentajeAnual { get; set; }
public DateOnly? FechaBaja { get; set; }

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdAsegasa.db;
[AddINotifyPropertyChangedInterface]
public partial class detallesagrupacionrecibossepa
{
public int idDetallesAgrupacionRecibosSEPA { get; set; }
public int? idAgrupacionRecibosSepa { get; set; }
public int? idRecibo { get; set; }
public virtual agrupacionrecibossepa? idAgrupacionRecibosSepaNavigation { get; set; }
public virtual recibos? idReciboNavigation { get; set; }
}

View File

@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdAsegasa.db;
[AddINotifyPropertyChangedInterface]
public partial class detallesfacturas
{
public int idDetalle { get; set; }
public int idFactura { get; set; }
public int idProducto { get; set; }
public double Cantidad { get; set; }
public double Precio { get; set; }
public bool EsVenta { get; set; }
public string? Observaciones { get; set; }
public int idTipoIVA { get; set; }
public double? PorcentajeIVA { get; set; }
public int? idDetalleRTF { get; set; }
public virtual ficheros? idDetalleRTFNavigation { get; set; }
public virtual facturas idFacturaNavigation { get; set; } = null!;
public virtual productos idProductoNavigation { get; set; } = null!;
public virtual enumeraciones idTipoIVANavigation { get; set; } = null!;
}

View File

@@ -73,6 +73,8 @@ public partial class entidades
public virtual ICollection<entidadesrelacionadas> entidadesrelacionadasidEntidadPadreNavigation { get; set; } = new List<entidadesrelacionadas>();
public virtual ICollection<facturas> facturas { get; set; } = new List<facturas>();
public virtual direcciones? idDireccionPrincipalNavigation { get; set; }
public virtual enumeraciones? idSexoNavigation { get; set; }

View File

@@ -65,6 +65,8 @@ public partial class enumeraciones
public virtual ICollection<departamentosmiembros> departamentosmiembros { get; set; } = new List<departamentosmiembros>();
public virtual ICollection<detallesfacturas> detallesfacturas { get; set; } = new List<detallesfacturas>();
public virtual ICollection<direcciones> direcciones { get; set; } = new List<direcciones>();
public virtual ICollection<documentosasolicitar> documentosasolicitar { get; set; } = new List<documentosasolicitar>();
@@ -81,6 +83,8 @@ public partial class enumeraciones
public virtual ICollection<expedientesrecibos> expedientesrecibos { get; set; } = new List<expedientesrecibos>();
public virtual ICollection<facturas> facturas { get; set; } = new List<facturas>();
public virtual ICollection<ficheros> ficheros { get; set; } = new List<ficheros>();
public virtual ICollection<gestionespolizasagrario> gestionespolizasagrario { get; set; } = new List<gestionespolizasagrario>();
@@ -123,6 +127,8 @@ public partial class enumeraciones
public virtual ICollection<procesos> procesosidTipoNavigation { get; set; } = new List<procesos>();
public virtual ICollection<provincias> provincias { get; set; } = new List<provincias>();
public virtual ICollection<ramos> ramosidFamiliaDGSNavigation { get; set; } = new List<ramos>();
public virtual ICollection<ramos> ramosidFamiliaRamoNavigation { get; set; } = new List<ramos>();

95
bdAsegasa/db/facturas.cs Normal file
View File

@@ -0,0 +1,95 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdAsegasa.db;
[AddINotifyPropertyChangedInterface]
public partial class facturas
{
public int idFactura { get; set; }
public string? NumeroFactura { get; set; }
public DateOnly? FechaFactura { get; set; }
public DateTime? FechaEmision { get; set; }
public int? idCliente { get; set; }
public double? BaseImponibleExenta { get; set; }
public double? BaseImponible1 { get; set; }
public double? BaseImponible2 { get; set; }
public double? BaseImponible3 { get; set; }
public double? PorcentajeIVA1 { get; set; }
public double? PorcentajeIVA2 { get; set; }
public double? PorcentajeIVA3 { get; set; }
public double? CuotaIVA1 { get; set; }
public double? CuotaIVA2 { get; set; }
public double? CuotaIVA3 { get; set; }
public double? TotalBaseImponible { get; set; }
public double? PorcentajeIRPF { get; set; }
public double? IRPF { get; set; }
public double? TotalIVA { get; set; }
public double? TotalFactura { get; set; }
public int? idUsuario { get; set; }
public int? idDatosClienteOriginal { get; set; }
public int? idSerieFactura { get; set; }
public string? Observaciones { get; set; }
public string? ObservacionesAImprimir { get; set; }
public double? ImportePagado { get; set; }
public DateOnly? FechaPago { get; set; }
public string? DocumentoIdentidad { get; set; }
public string? RazonSocial { get; set; }
public string? Direccion { get; set; }
public string? CodigoPostal { get; set; }
public string? CodigoMunicipio { get; set; }
public DateTime? FechaEnvioAsesoria { get; set; }
public int? idFacturaRectificativa { get; set; }
public int? idPais { get; set; }
public int? TipoDocumentoIdentidad { get; set; }
public virtual municipios? CodigoMunicipioNavigation { get; set; }
public virtual ICollection<detallesfacturas> detallesfacturas { get; set; } = new List<detallesfacturas>();
public virtual entidades? idClienteNavigation { get; set; }
public virtual ficheros? idDatosClienteOriginalNavigation { get; set; }
public virtual enumeraciones? idPaisNavigation { get; set; }
public virtual seriesfacturas? idSerieFacturaNavigation { get; set; }
public virtual usuarios? idUsuarioNavigation { get; set; }
}

View File

@@ -25,6 +25,8 @@ public partial class ficheros
public virtual ICollection<correos> correos { get; set; } = new List<correos>();
public virtual ICollection<detallesfacturas> detallesfacturas { get; set; } = new List<detallesfacturas>();
public virtual ICollection<documentospolizasagrario> documentospolizasagrario { get; set; } = new List<documentospolizasagrario>();
public virtual ICollection<documentospolizassg> documentospolizassg { get; set; } = new List<documentospolizassg>();
@@ -33,6 +35,8 @@ public partial class ficheros
public virtual ICollection<expedientesagentes> expedientesagentes { get; set; } = new List<expedientesagentes>();
public virtual ICollection<facturas> facturas { get; set; } = new List<facturas>();
public virtual ICollection<ficherosadjuntos> ficherosadjuntos { get; set; } = new List<ficherosadjuntos>();
public virtual ICollection<gestionesrecibos> gestionesrecibos { get; set; } = new List<gestionesrecibos>();

View File

@@ -47,6 +47,8 @@ public partial class ficheroscompanias
public virtual usuarios? idUsuarioNavigation { get; set; }
public virtual ICollection<polizassg> polizassg { get; set; } = new List<polizassg>();
public virtual ICollection<recibos> recibos { get; set; } = new List<recibos>();
public virtual ICollection<registrosactualizados> registrosactualizados { get; set; } = new List<registrosactualizados>();

View File

@@ -25,5 +25,7 @@ public partial class municipios
public virtual ICollection<direcciones> direcciones { get; set; } = new List<direcciones>();
public virtual ICollection<facturas> facturas { get; set; } = new List<facturas>();
public virtual ICollection<subagentes> subagentes { get; set; } = new List<subagentes>();
}

View File

@@ -113,6 +113,8 @@ public partial class polizassg
public int DocsPendientesComprobar { get; set; }
public int? idFicheroCIA { get; set; }
public virtual ICollection<documentospolizassg> documentospolizassg { get; set; } = new List<documentospolizassg>();
public virtual ICollection<entidadespolizas> entidadespolizas { get; set; } = new List<entidadespolizas>();
@@ -129,6 +131,8 @@ public partial class polizassg
public virtual enumeraciones? idDuracionNavigation { get; set; }
public virtual ficheroscompanias? idFicheroCIANavigation { get; set; }
public virtual ficheros? idFicheroPresupuestoNavigation { get; set; }
public virtual ramosdgscompania? idRamoDGSCiaNavigation { get; set; }

37
bdAsegasa/db/productos.cs Normal file
View File

@@ -0,0 +1,37 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdAsegasa.db;
[AddINotifyPropertyChangedInterface]
public partial class productos
{
public int idProducto { get; set; }
public string Descripcion { get; set; } = null!;
public DateTime? FechaBaja { get; set; }
public double PrecioVenta { get; set; }
public double PrecioCosto { get; set; }
public int? idUsuarioCreador { get; set; }
public int? idUsuarioModificador { get; set; }
public string? Observaciones { get; set; }
public bool? FacturarComoVentaPorDefecto { get; set; }
public string? Codigo { get; set; }
public int Tipo { get; set; }
public virtual ICollection<detallesfacturas> detallesfacturas { get; set; } = new List<detallesfacturas>();
public virtual usuarios? idUsuarioCreadorNavigation { get; set; }
public virtual usuarios? idUsuarioModificadorNavigation { get; set; }
}

View File

@@ -13,7 +13,11 @@ public partial class provincias
public string? ComunidadAutonoma { get; set; }
public int? idCCAA { get; set; }
public virtual ICollection<comarcas> comarcas { get; set; } = new List<comarcas>();
public virtual enumeraciones? idCCAANavigation { get; set; }
public virtual ICollection<municipios> municipios { get; set; } = new List<municipios>();
}

View File

@@ -142,6 +142,8 @@ public partial class recibos
public virtual ICollection<amortizacionrecibos> amortizacionrecibos { get; set; } = new List<amortizacionrecibos>();
public virtual ICollection<detallesagrupacionrecibossepa> detallesagrupacionrecibossepa { get; set; } = new List<detallesagrupacionrecibossepa>();
public virtual ICollection<documentospolizassg> documentospolizassg { get; set; } = new List<documentospolizassg>();
public virtual ICollection<expedientesrecibos> expedientesrecibos { get; set; } = new List<expedientesrecibos>();

View File

@@ -35,6 +35,8 @@ public partial class registrosverifactu
public int? idRegistroCorreccion { get; set; }
public int idBloque { get; set; }
public virtual registrosverifactu? InverseidRegistroAnteriorNavigation { get; set; }
public virtual registrosverifactu? InverseidRegistroCorreccionNavigation { get; set; }

View File

@@ -31,5 +31,7 @@ public partial class seriesfacturas
public string? ConceptoVerifactu { get; set; }
public virtual ICollection<facturas> facturas { get; set; } = new List<facturas>();
public virtual ICollection<liquidacionesagentes> liquidacionesagentes { get; set; } = new List<liquidacionesagentes>();
}

View File

@@ -33,6 +33,8 @@ public partial class usuarios
public virtual ICollection<agentes> agentes { get; set; } = new List<agentes>();
public virtual ICollection<agrupacionrecibossepa> agrupacionrecibossepa { get; set; } = new List<agrupacionrecibossepa>();
public virtual ICollection<asientos> asientos { get; set; } = new List<asientos>();
public virtual ICollection<asientosmodelos> asientosmodelos { get; set; } = new List<asientosmodelos>();
@@ -59,6 +61,8 @@ public partial class usuarios
public virtual ICollection<extractosbancarios> extractosbancarios { get; set; } = new List<extractosbancarios>();
public virtual ICollection<facturas> facturas { get; set; } = new List<facturas>();
public virtual ICollection<ficheroscompanias> ficheroscompanias { get; set; } = new List<ficheroscompanias>();
public virtual ICollection<gestionespolizasagrario> gestionespolizasagrario { get; set; } = new List<gestionespolizasagrario>();
@@ -83,6 +87,10 @@ public partial class usuarios
public virtual ICollection<polizassg> polizassg { get; set; } = new List<polizassg>();
public virtual ICollection<productos> productosidUsuarioCreadorNavigation { get; set; } = new List<productos>();
public virtual ICollection<productos> productosidUsuarioModificadorNavigation { get; set; } = new List<productos>();
public virtual ICollection<recibos> recibos { get; set; } = new List<recibos>();
public virtual ICollection<sesiones> sesiones { get; set; } = new List<sesiones>();

View File

@@ -13,6 +13,13 @@ public partial class vf_documentospolizassgextendidas
public DateTime? FechaAlta { get; set; }
public DateOnly? FechaBaja { get; set; }
/// <summary>
/// Tabla enumeraciones
/// </summary>
public int? idCausaBaja { get; set; }
public string? Tomador { get; set; }
public string? CIFTomador { get; set; }
@@ -35,6 +42,8 @@ public partial class vf_documentospolizassgextendidas
public int idDocumento { get; set; }
public int Tipo { get; set; }
public string? Descripcion { get; set; }
public int idPoliza { get; set; }
@@ -64,4 +73,6 @@ public partial class vf_documentospolizassgextendidas
public DateTime? FechaEnvioCorreo { get; set; }
public string? DestinatarioCorreo { get; set; }
public string? TipoDocumento { get; set; }
}