Versión 2

This commit is contained in:
2026-01-26 13:12:47 +01:00
parent c8d1044267
commit c14bb09eb2
36 changed files with 1576 additions and 234 deletions

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class aplicacionesasientos
{
public int idAplicacionAsiento { get; set; }
public int? Tipo { get; set; }
public int? idAplicacion { get; set; }
public int? idAsiento { get; set; }
public virtual asientos? idAsientoNavigation { get; set; }
}

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class apuntes
{
public int idApunte { get; set; }
public int idCuenta { get; set; }
public string? Concepto { get; set; }
public string? NumeroDocumento { get; set; }
public double Debe { get; set; }
public double Haber { get; set; }
public int idAsiento { get; set; }
public int? idConcepto { get; set; }
public DateTime? FechaPunteo { get; set; }
public int? TipoDocumento { get; set; }
public int? idConciliacion { get; set; }
public virtual asientos idAsientoNavigation { get; set; } = null!;
public virtual conceptosapuntes? idConceptoNavigation { get; set; }
public virtual conciliacionesbancarias? idConciliacionNavigation { get; set; }
public virtual cuentas idCuentaNavigation { get; set; } = null!;
}

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class apuntesmodelo
{
public int idApunteModelo { get; set; }
public string NumeroCuenta { get; set; } = null!;
public string? Concepto { get; set; }
public double Debe { get; set; }
public double Haber { get; set; }
public int idAsientoModelo { get; set; }
public int? idConcepto { get; set; }
public string? NumeroDocumento { get; set; }
public int? TipoDocumento { get; set; }
public int Orden { get; set; }
public virtual asientosmodelos idAsientoModeloNavigation { get; set; } = null!;
public virtual conceptosapuntes? idConceptoNavigation { get; set; }
}

View File

@@ -37,6 +37,8 @@ public partial class articulos
public virtual ICollection<detallesalbaranes> detallesalbaranes { get; set; } = new List<detallesalbaranes>();
public virtual gruasparticulares? gruasparticulares { get; set; }
public virtual ficheros? idFicheroNavigation { get; set; }
public virtual productos? idProductoNavigation { get; set; }

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class asientos
{
public int idAsiento { get; set; }
public DateOnly Fecha { get; set; }
public int idEjercicio { get; set; }
public double Importe { get; set; }
public int? NumeroAsiento { get; set; }
public int Tipo { get; set; }
public DateOnly FechaIntroduccion { get; set; }
public int? idUsuario { get; set; }
public int? idAsientoModelo { get; set; }
public DateTime? FechaPunteo { get; set; }
public virtual ICollection<aplicacionesasientos> aplicacionesasientos { get; set; } = new List<aplicacionesasientos>();
public virtual ICollection<apuntes> apuntes { get; set; } = new List<apuntes>();
public virtual asientosmodelos? idAsientoModeloNavigation { get; set; }
public virtual ejercicioscontables idEjercicioNavigation { get; set; } = null!;
public virtual usuarios? idUsuarioNavigation { get; set; }
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class asientosmodelos
{
public int idAsientoModelo { get; set; }
public string Codigo { get; set; } = null!;
public DateTime FechaIntroduccion { get; set; }
public int? idUsuario { get; set; }
public string Descripcion { get; set; } = null!;
public virtual ICollection<apuntesmodelo> apuntesmodelo { get; set; } = new List<apuntesmodelo>();
public virtual ICollection<asientos> asientos { get; set; } = new List<asientos>();
public virtual usuarios? idUsuarioNavigation { get; set; }
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class celdasinformescontables
{
public int idCelda { get; set; }
public int Hoja { get; set; }
public int Fila { get; set; }
public string Columna { get; set; } = null!;
public int idInformeContable { get; set; }
public string? Observaciones { get; set; }
public string NombreCampo { get; set; } = null!;
public virtual ICollection<cuentasceldasinformescontables> cuentasceldasinformescontables { get; set; } = new List<cuentasceldasinformescontables>();
public virtual informescontables idInformeContableNavigation { get; set; } = null!;
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class conceptosapuntes
{
public int idConcepto { get; set; }
public string Concepto { get; set; } = null!;
public string Codigo { get; set; } = null!;
public virtual ICollection<apuntes> apuntes { get; set; } = new List<apuntes>();
public virtual ICollection<apuntesmodelo> apuntesmodelo { get; set; } = new List<apuntesmodelo>();
}

View File

@@ -23,6 +23,8 @@ public partial class conciliacionesbancarias
public int idCaja { get; set; }
public virtual ICollection<apuntes> apuntes { get; set; } = new List<apuntes>();
public virtual cajas idCajaNavigation { get; set; } = null!;
public virtual usuarios? idUsuarioNavigation { get; set; }

View File

@@ -0,0 +1,55 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class cuentas
{
public int idCuenta { get; set; }
public string? Mote { get; set; }
public string Denominacion { get; set; } = null!;
public double PresupuestoEnero { get; set; }
public double PresupuestoFebrero { get; set; }
public double PresupuestoMarzo { get; set; }
public double PresupuestoAbril { get; set; }
public double PresupuestoMayo { get; set; }
public double PresupuestoJunio { get; set; }
public double PresupuestoJulio { get; set; }
public double PresupuestoAgosto { get; set; }
public double PresupuestoSeptiembre { get; set; }
public double PresupuestoOctubre { get; set; }
public double PresupuestoNoviembre { get; set; }
public double PresupuestoDiciembre { get; set; }
public string? Observaciones { get; set; }
public string NumeroCuenta { get; set; } = null!;
public int idEjercicio { get; set; }
public int? idEmpresaAmortizacion { get; set; }
public bool EsCuentaFinal { get; set; }
public virtual ICollection<apuntes> apuntes { get; set; } = new List<apuntes>();
public virtual ejercicioscontables idEjercicioNavigation { get; set; } = null!;
public virtual enumeraciones? idEmpresaAmortizacionNavigation { get; set; }
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class cuentasceldasinformescontables
{
public int idCuenta { get; set; }
public string NumeroCuenta { get; set; } = null!;
public int Factor { get; set; }
public bool SoloSiPositivo { get; set; }
public bool SoloSiNegativo { get; set; }
public int? idCelda { get; set; }
public virtual celdasinformescontables? idCeldaNavigation { get; set; }
}

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class ejercicioscontables
{
public int idEjercicio { get; set; }
public DateOnly FechaInicio { get; set; }
public DateOnly FechaFin { get; set; }
public DateOnly FechaApertura { get; set; }
public DateOnly? FechaCierre { get; set; }
public int? idEmpresa { get; set; }
public string? NivelesCuentas { get; set; }
public string Descripcion { get; set; } = null!;
public virtual ICollection<asientos> asientos { get; set; } = new List<asientos>();
public virtual ICollection<cuentas> cuentas { get; set; } = new List<cuentas>();
public virtual empresas? idEmpresaNavigation { get; set; }
}

View File

@@ -25,12 +25,16 @@ public partial class empresas
public bool DescAmpliadaEnFE { get; set; }
public string Codigo { get; set; } = null!;
public virtual ICollection<almacenes> almacenes { get; set; } = new List<almacenes>();
public virtual ICollection<cajas> cajas { get; set; } = new List<cajas>();
public virtual ICollection<cuentascorreo> cuentascorreo { get; set; } = new List<cuentascorreo>();
public virtual ICollection<ejercicioscontables> ejercicioscontables { get; set; } = new List<ejercicioscontables>();
public virtual ICollection<entidades> entidades { get; set; } = new List<entidades>();
public virtual ficheros? idLogo1Navigation { get; set; }

View File

@@ -43,6 +43,8 @@ public partial class enumeraciones
public DateTime? Fecha2 { get; set; }
public virtual ICollection<cuentas> cuentas { get; set; } = new List<cuentas>();
public virtual ICollection<detallesfacturas> detallesfacturas { get; set; } = new List<detallesfacturas>();
public virtual ICollection<detallesfacturasrecibidas> detallesfacturasrecibidas { get; set; } = new List<detallesfacturasrecibidas>();

View File

@@ -51,6 +51,8 @@ public partial class ficheros
public virtual enumeraciones? idTipoNavigation { get; set; }
public virtual ICollection<informescontables> informescontables { get; set; } = new List<informescontables>();
public virtual ICollection<movimientoscaja> movimientoscaja { get; set; } = new List<movimientoscaja>();
public virtual ICollection<plantillas> plantillas { get; set; } = new List<plantillas>();

View File

@@ -1,19 +0,0 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class formulas
{
public int idFormula { get; set; }
public string Codigo { get; set; } = null!;
public string Descripcion { get; set; } = null!;
public string? Formula { get; set; }
public int Tipo { get; set; }
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class gruasparticulares
{
public int idArticulo { get; set; }
public string? Codigo { get; set; }
public virtual articulos idArticuloNavigation { get; set; } = null!;
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class informescontables
{
public int idInforme { get; set; }
public string? Descripcion { get; set; }
public int? idFichero { get; set; }
public string Codigo { get; set; } = null!;
public virtual ICollection<celdasinformescontables> celdasinformescontables { get; set; } = new List<celdasinformescontables>();
public virtual ficheros? idFicheroNavigation { get; set; }
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class marcasgruas
{
public int idMarca { get; set; }
public string? Marca { get; set; }
public virtual ICollection<modelosgruas> modelosgruas { get; set; } = new List<modelosgruas>();
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class modelosgruas
{
public int idProducto { get; set; }
public string Modelo { get; set; } = null!;
public int idMarca { get; set; }
public DateTime? FechaAlta { get; set; }
public DateTime? FechaBaja { get; set; }
public virtual marcasgruas idMarcaNavigation { get; set; } = null!;
public virtual productos idProductoNavigation { get; set; } = null!;
public virtual ICollection<tablaalturas> tablaalturas { get; set; } = new List<tablaalturas>();
public virtual ICollection<tablaplumas> tablaplumas { get; set; } = new List<tablaplumas>();
public virtual ICollection<versiones> versiones { get; set; } = new List<versiones>();
}

View File

@@ -9,13 +9,65 @@ public partial class productos
{
public int idProducto { get; set; }
public string? DescripcionAbreviada { get; set; }
public string Descripcion { get; set; } = null!;
public DateTime? FechaBaja { get; set; }
public int? idFamilia { get; set; }
public int? idTipoHomologacion { get; set; }
public bool? Servicio { get; set; }
public string? ReferenciaFabrica { get; set; }
public int? idTipoProducto { get; set; }
public string? CodigoBarras { get; set; }
public string? NumeroSerie { get; set; }
public string? PrefijoNumeroSerie { get; set; }
public double? UnidadesPorEmbalaje { get; set; }
public double Peso { get; set; }
public int? idCodigoImpresion { get; set; }
public string? Marca { get; set; }
public string? Modelo { get; set; }
public bool? VentaGruaUsada { get; set; }
public double? PrecioCosteMedio { get; set; }
public double? UltimoPrecioCoste { get; set; }
public double PrecioVenta { get; set; }
public double PrecioAlquiler { get; set; }
public DateTime? FechaBaja { get; set; }
public double? PorcentajeDescuento { get; set; }
public int? idFamiliaHomologacion { get; set; }
public double? ExistenciasTotal { get; set; }
public string? StockMinimo { get; set; }
public double? ExistenciasMedias { get; set; }
public string? ModeloGruaPatas { get; set; }
public string? ModelosPatas { get; set; }
public string? CorrespondenciaPatas { get; set; }
public string? Ubicacion { get; set; }
public string? ControlarEnAlbaran { get; set; }
public int? idUsuarioCreador { get; set; }
@@ -23,62 +75,6 @@ public partial class productos
public string? Observaciones { get; set; }
public bool? FacturarComoVentaPorDefecto { get; set; }
public string? Codigo { get; set; }
public double UltimoPrecioCompra { get; set; }
public double Peso { get; set; }
public double Volumen { get; set; }
public double HorasMontaje { get; set; }
public double HorasDesmontaje { get; set; }
public double TotalUnidades { get; set; }
public double UnidadesInicialesOFabricadas { get; set; }
public double UnidadesCompradas { get; set; }
public double UnidadesVendidas { get; set; }
public double UnidadesAlquiladas { get; set; }
public double UnidadesAveriadas { get; set; }
public double UnidadesDesechadas { get; set; }
public double UnidadesSubAlquiladas { get; set; }
public double PorcentajeDesgasteDiaAlquilado { get; set; }
public int NumeroAsientos { get; set; }
public int Tipo { get; set; }
public int NumeroFilas { get; set; }
public bool PrecioPorDia { get; set; }
public bool PrecioPorAsiento { get; set; }
public bool PrecioPorKm { get; set; }
public double PrecioMinimo { get; set; }
public double IncrementoGastosGenerales { get; set; }
public int Ancho { get; set; }
public int Largo { get; set; }
public bool IncluyeTarima { get; set; }
public bool IncluyeIluminacion { get; set; }
public int idEmpresa { get; set; }
public virtual ICollection<articulos> articulos { get; set; } = new List<articulos>();
@@ -97,5 +93,7 @@ public partial class productos
public virtual usuarios? idUsuarioModificadorNavigation { get; set; }
public virtual modelosgruas? modelosgruas { get; set; }
public virtual ICollection<stocks> stocks { get; set; } = new List<stocks>();
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class tablaalturas
{
public int idAltura { get; set; }
public int idModelo { get; set; }
public int? idVersion { get; set; }
public double Altura { get; set; }
public string? Observaciones { get; set; }
public virtual modelosgruas idModeloNavigation { get; set; } = null!;
public virtual versiones? idVersionNavigation { get; set; }
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class tablaplumas
{
public int idPluma { get; set; }
public int idModelo { get; set; }
public double Pluma { get; set; }
public double KgsPunta { get; set; }
public double KgsMaximo { get; set; }
public string? Observaciones { get; set; }
public virtual modelosgruas idModeloNavigation { get; set; } = null!;
}

View File

@@ -1,27 +0,0 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class trabajador
{
public int idTrabajador { get; set; }
public string? DocumentoIdentidad { get; set; }
public string? Apellidos { get; set; }
public string? Nombre { get; set; }
public string? CorreoElectronico { get; set; }
public string? Telefono1 { get; set; }
public string? Telefono2 { get; set; }
public DateOnly? FechaAlta { get; set; }
public DateOnly? FechaBaja { get; set; }
}

View File

@@ -0,0 +1,99 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class trabajadores
{
public int idTrabajador { get; set; }
public string? CIF { get; set; }
public string? Nombre { get; set; }
public string? Apellidos { get; set; }
public int? idEmpresa { get; set; }
public int? idPuestoTrabajo { get; set; }
public int? idSeccion { get; set; }
public string? NumeroSeguridadSocial { get; set; }
public string? Login { get; set; }
public string? Iniciales { get; set; }
public DateOnly? FechaAntiguedad { get; set; }
public DateOnly? FechaAlta { get; set; }
public DateOnly? FechaBaja { get; set; }
public int? idCausaBaja { get; set; }
public string? Domicilio { get; set; }
public int? idCodigoPostal { get; set; }
public string? Telefono1 { get; set; }
public string? Telefono2 { get; set; }
public string? Fax { get; set; }
public string? CorreoElectronico { get; set; }
public bool AutorizacionVistoBuenoRespOfertaCliente { get; set; }
public bool AutorizacionVistoBuenoRespPedidoCliente { get; set; }
public bool AutorizacionRecepcionDocumentos { get; set; }
public bool AutorizacionRealizacionProyecto { get; set; }
public bool AutorizacionAprobacionRiesgo { get; set; }
public bool AutorizacionNotificacion { get; set; }
public bool AutorizacionVistoBuenoFacturaCliente { get; set; }
public bool AutorizacionPedidosAProveedores { get; set; }
public int? idFormaPago { get; set; }
public string? IBAN { get; set; }
public int? idCuentaContable { get; set; }
public double? Precios { get; set; }
public string? Situacion { get; set; }
public string? Observacion { get; set; }
public int? idCategoriaPrevia { get; set; }
public bool? RequiereFormato { get; set; }
public int? idCategoriaCalidad { get; set; }
public DateOnly? FechaNacimiento { get; set; }
public DateOnly? FechaRevisionMedicaVigente { get; set; }
public DateOnly? FechaRevisionMedicaProximo { get; set; }
public bool NivelBasico { get; set; }
public bool Altura { get; set; }
public bool ProtocoloMontaje { get; set; }
public bool Carretilla { get; set; }
public bool PrimerosAuxilios { get; set; }
}

View File

@@ -25,6 +25,10 @@ public partial class usuarios
public virtual ICollection<albaranes> albaranes { get; set; } = new List<albaranes>();
public virtual ICollection<asientos> asientos { get; set; } = new List<asientos>();
public virtual ICollection<asientosmodelos> asientosmodelos { get; set; } = new List<asientosmodelos>();
public virtual ICollection<autorizacionesusuarios> autorizacionesusuarios { get; set; } = new List<autorizacionesusuarios>();
public virtual ICollection<conciliacionesbancarias> conciliacionesbancarias { get; set; } = new List<conciliacionesbancarias>();

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using PropertyChanged;
namespace bdGrupoSanchoToro.db;
[AddINotifyPropertyChangedInterface]
public partial class versiones
{
public int idVersion { get; set; }
public int idModelo { get; set; }
public int Version { get; set; }
public string? Observaciones { get; set; }
public virtual modelosgruas idModeloNavigation { get; set; } = null!;
public virtual ICollection<tablaalturas> tablaalturas { get; set; } = new List<tablaalturas>();
}