cambios 17/02/2026
This commit is contained in:
@@ -71,6 +71,8 @@ public partial class albaranes
|
||||
|
||||
public DateOnly? FechaPrevistaFinSubalquiler { get; set; }
|
||||
|
||||
public int idEmpresa { get; set; }
|
||||
|
||||
public virtual municipios? CodigoMunicipioCargaNavigation { get; set; }
|
||||
|
||||
public virtual municipios? CodigoMunicipioDescargaNavigation { get; set; }
|
||||
@@ -83,6 +85,8 @@ public partial class albaranes
|
||||
|
||||
public virtual almacenes? idAlmacenOrigenNavigation { get; set; }
|
||||
|
||||
public virtual empresas idEmpresaNavigation { get; set; } = null!;
|
||||
|
||||
public virtual entidades? idEntidadNavigation { get; set; }
|
||||
|
||||
public virtual presupuestos? idPresupuestoNavigation { get; set; }
|
||||
|
||||
31
bdGrupoSanchoToro/db/desgloseproductos.cs
Normal file
31
bdGrupoSanchoToro/db/desgloseproductos.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdGrupoSanchoToro.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class desgloseproductos
|
||||
{
|
||||
public int idDesglose { get; set; }
|
||||
|
||||
public int idProductoPadre { get; set; }
|
||||
|
||||
public int idProducto { get; set; }
|
||||
|
||||
public int Unidades { get; set; }
|
||||
|
||||
public int UnidadesMinimas { get; set; }
|
||||
|
||||
public int UnidadesMaximas { get; set; }
|
||||
|
||||
public string? DescripcionAdicional { get; set; }
|
||||
|
||||
public int? Version { get; set; }
|
||||
|
||||
public virtual ICollection<detallepresupuesto> detallepresupuesto { get; set; } = new List<detallepresupuesto>();
|
||||
|
||||
public virtual productos idProductoNavigation { get; set; } = null!;
|
||||
|
||||
public virtual productos idProductoPadreNavigation { get; set; } = null!;
|
||||
}
|
||||
@@ -15,6 +15,8 @@ public partial class detallepresupuesto
|
||||
|
||||
public double Cantidad { get; set; }
|
||||
|
||||
public double GastosPorUnidad { get; set; }
|
||||
|
||||
public double Precio { get; set; }
|
||||
|
||||
public int idPresupuesto { get; set; }
|
||||
@@ -23,10 +25,24 @@ public partial class detallepresupuesto
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public int? idDetallePresupuestoPadre { get; set; }
|
||||
|
||||
public int? idDesgloseProducto { get; set; }
|
||||
|
||||
public string? Parametros { get; set; }
|
||||
|
||||
public int? NumeroAsientos { get; set; }
|
||||
|
||||
public virtual ICollection<detallepresupuesto> InverseidDetallePresupuestoPadreNavigation { get; set; } = new List<detallepresupuesto>();
|
||||
|
||||
public virtual ICollection<detallesfacturas> detallesfacturas { get; set; } = new List<detallesfacturas>();
|
||||
|
||||
public virtual articulos? idArticuloNavigation { get; set; }
|
||||
|
||||
public virtual desgloseproductos? idDesgloseProductoNavigation { get; set; }
|
||||
|
||||
public virtual detallepresupuesto? idDetallePresupuestoPadreNavigation { get; set; }
|
||||
|
||||
public virtual presupuestos idPresupuestoNavigation { get; set; } = null!;
|
||||
|
||||
public virtual productos idProductoNavigation { get; set; } = null!;
|
||||
|
||||
@@ -17,10 +17,6 @@ public partial class detallesalbaranes
|
||||
|
||||
public double Cantidad { get; set; }
|
||||
|
||||
public double Peso { get; set; }
|
||||
|
||||
public double Volumen { get; set; }
|
||||
|
||||
public bool EsVenta { get; set; }
|
||||
|
||||
public bool IncluidoEnPresupuesto { get; set; }
|
||||
@@ -29,6 +25,14 @@ public partial class detallesalbaranes
|
||||
|
||||
public int? idUltimaFactura { get; set; }
|
||||
|
||||
public DateTime? FechaCancelacion { get; set; }
|
||||
|
||||
public int? idUsuarioQueCancela { get; set; }
|
||||
|
||||
public string? MotivoCancelacion { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public virtual albaranes idAlbaranNavigation { get; set; } = null!;
|
||||
|
||||
public virtual albaranes? idAlbaranRecogidaNavigation { get; set; }
|
||||
@@ -38,4 +42,6 @@ public partial class detallesalbaranes
|
||||
public virtual productos idProductoNavigation { get; set; } = null!;
|
||||
|
||||
public virtual facturas? idUltimaFacturaNavigation { get; set; }
|
||||
|
||||
public virtual usuarios? idUsuarioQueCancelaNavigation { get; set; }
|
||||
}
|
||||
|
||||
@@ -27,6 +27,8 @@ public partial class empresas
|
||||
|
||||
public string Codigo { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<albaranes> albaranes { get; set; } = new List<albaranes>();
|
||||
|
||||
public virtual ICollection<almacenes> almacenes { get; set; } = new List<almacenes>();
|
||||
|
||||
public virtual ICollection<cajas> cajas { get; set; } = new List<cajas>();
|
||||
@@ -43,7 +45,5 @@ public partial class empresas
|
||||
|
||||
public virtual ICollection<plantillas> plantillas { get; set; } = new List<plantillas>();
|
||||
|
||||
public virtual ICollection<productos> productos { get; set; } = new List<productos>();
|
||||
|
||||
public virtual ICollection<seriesfacturas> seriesfacturas { get; set; } = new List<seriesfacturas>();
|
||||
}
|
||||
|
||||
@@ -71,8 +71,6 @@ public partial class entidades
|
||||
|
||||
public virtual ICollection<correos> correos { get; set; } = new List<correos>();
|
||||
|
||||
public virtual ICollection<eventos> eventos { get; set; } = new List<eventos>();
|
||||
|
||||
public virtual ICollection<expedientesentidades> expedientesentidades { get; set; } = new List<expedientesentidades>();
|
||||
|
||||
public virtual ICollection<facturas> facturas { get; set; } = new List<facturas>();
|
||||
@@ -87,5 +85,7 @@ public partial class entidades
|
||||
|
||||
public virtual usuarios? idUsuarioModificadorNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<obras> obras { get; set; } = new List<obras>();
|
||||
|
||||
public virtual ICollection<presupuestos> presupuestos { get; set; } = new List<presupuestos>();
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ public partial class facturas
|
||||
|
||||
public string? ObservacionesAImprimir { get; set; }
|
||||
|
||||
public int? idEvento { get; set; }
|
||||
public int? idObra { get; set; }
|
||||
|
||||
public double ImportePagado { get; set; }
|
||||
|
||||
@@ -87,7 +87,7 @@ public partial class facturas
|
||||
|
||||
public virtual ficheros? idDatosClienteOriginalNavigation { get; set; }
|
||||
|
||||
public virtual eventos? idEventoNavigation { get; set; }
|
||||
public virtual obras? idObraNavigation { get; set; }
|
||||
|
||||
public virtual seriesfacturas idSerieFacturaNavigation { get; set; } = null!;
|
||||
|
||||
|
||||
29
bdGrupoSanchoToro/db/modelospermitidos.cs
Normal file
29
bdGrupoSanchoToro/db/modelospermitidos.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdGrupoSanchoToro.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class modelospermitidos
|
||||
{
|
||||
public int idModeloPermitido { get; set; }
|
||||
|
||||
public int idProducto { get; set; }
|
||||
|
||||
public int idModeloGrua { get; set; }
|
||||
|
||||
public bool Version_Apoyada { get; set; }
|
||||
|
||||
public bool Version_Automontante { get; set; }
|
||||
|
||||
public bool Version_Bicolumna { get; set; }
|
||||
|
||||
public bool Version_Empotrada { get; set; }
|
||||
|
||||
public bool Version_ConTraslacion { get; set; }
|
||||
|
||||
public virtual productos idModeloGruaNavigation { get; set; } = null!;
|
||||
|
||||
public virtual productos idProductoNavigation { get; set; } = null!;
|
||||
}
|
||||
@@ -27,7 +27,7 @@ public partial class municipios
|
||||
|
||||
public virtual ICollection<entidades> entidades { get; set; } = new List<entidades>();
|
||||
|
||||
public virtual ICollection<eventos> eventos { get; set; } = new List<eventos>();
|
||||
|
||||
public virtual ICollection<facturas> facturas { get; set; } = new List<facturas>();
|
||||
|
||||
public virtual ICollection<obras> obras { get; set; } = new List<obras>();
|
||||
}
|
||||
|
||||
@@ -5,9 +5,9 @@ using PropertyChanged;
|
||||
namespace bdGrupoSanchoToro.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class eventos
|
||||
public partial class obras
|
||||
{
|
||||
public int idEvento { get; set; }
|
||||
public int idObra { get; set; }
|
||||
|
||||
public string Descripcion { get; set; } = null!;
|
||||
|
||||
@@ -15,7 +15,7 @@ public partial class presupuestos
|
||||
|
||||
public int idCliente { get; set; }
|
||||
|
||||
public int? idEvento { get; set; }
|
||||
public int? idObra { get; set; }
|
||||
|
||||
public double ImporteBruto { get; set; }
|
||||
|
||||
@@ -37,14 +37,6 @@ public partial class presupuestos
|
||||
|
||||
public double Kilometros { get; set; }
|
||||
|
||||
public DateOnly? FechaInicioEvento { get; set; }
|
||||
|
||||
public DateOnly? FechaFinEvento { get; set; }
|
||||
|
||||
public DateOnly? FechaMontaje { get; set; }
|
||||
|
||||
public DateOnly? FechaDesmontaje { get; set; }
|
||||
|
||||
public virtual ICollection<albaranes> albaranes { get; set; } = new List<albaranes>();
|
||||
|
||||
public virtual ICollection<detallepresupuesto> detallepresupuesto { get; set; } = new List<detallepresupuesto>();
|
||||
@@ -55,7 +47,7 @@ public partial class presupuestos
|
||||
|
||||
public virtual ficheros? idDatosClienteOriginalNavigation { get; set; }
|
||||
|
||||
public virtual eventos? idEventoNavigation { get; set; }
|
||||
public virtual obras? idObraNavigation { get; set; }
|
||||
|
||||
public virtual usuarios? idUsuarioNavigation { get; set; }
|
||||
}
|
||||
|
||||
@@ -15,15 +15,13 @@ public partial class productos
|
||||
|
||||
public string Descripcion { get; set; } = null!;
|
||||
|
||||
public int? idFamilia { get; set; }
|
||||
public int idFamilia { get; set; }
|
||||
|
||||
public int? idTipoHomologacion { get; set; }
|
||||
|
||||
public bool? Servicio { get; set; }
|
||||
|
||||
public string? ReferenciaFabrica { get; set; }
|
||||
|
||||
public int? Tipo { get; set; }
|
||||
public int Tipo { get; set; }
|
||||
|
||||
public string? CodigoBarras { get; set; }
|
||||
|
||||
@@ -51,8 +49,6 @@ public partial class productos
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public int? idEmpresa { get; set; }
|
||||
|
||||
public double? UltimoPrecioCoste { get; set; }
|
||||
|
||||
public double? UltimoPrecioCompra { get; set; }
|
||||
@@ -77,8 +73,16 @@ public partial class productos
|
||||
|
||||
public double? PrecioVenta { get; set; }
|
||||
|
||||
public string? UnidadesPorEmpresa { get; set; }
|
||||
|
||||
public bool? FacturarComoVentaPorDefecto { get; set; }
|
||||
|
||||
public virtual ICollection<articulos> articulos { get; set; } = new List<articulos>();
|
||||
|
||||
public virtual ICollection<desgloseproductos> desgloseproductosidProductoNavigation { get; set; } = new List<desgloseproductos>();
|
||||
|
||||
public virtual ICollection<desgloseproductos> desgloseproductosidProductoPadreNavigation { get; set; } = new List<desgloseproductos>();
|
||||
|
||||
public virtual ICollection<desglosetiposofertas> desglosetiposofertas { get; set; } = new List<desglosetiposofertas>();
|
||||
|
||||
public virtual ICollection<detallepresupuesto> detallepresupuesto { get; set; } = new List<detallepresupuesto>();
|
||||
@@ -89,9 +93,7 @@ public partial class productos
|
||||
|
||||
public virtual ICollection<detallesfacturasrecibidas> detallesfacturasrecibidas { get; set; } = new List<detallesfacturasrecibidas>();
|
||||
|
||||
public virtual empresas? idEmpresaNavigation { get; set; }
|
||||
|
||||
public virtual familias? idFamiliaNavigation { get; set; }
|
||||
public virtual familias idFamiliaNavigation { get; set; } = null!;
|
||||
|
||||
public virtual marcas? idMarcaNavigation { get; set; }
|
||||
|
||||
@@ -99,6 +101,10 @@ public partial class productos
|
||||
|
||||
public virtual usuarios? idUsuarioModificadorNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<modelospermitidos> modelospermitidosidModeloGruaNavigation { get; set; } = new List<modelospermitidos>();
|
||||
|
||||
public virtual ICollection<modelospermitidos> modelospermitidosidProductoNavigation { get; set; } = new List<modelospermitidos>();
|
||||
|
||||
public virtual ICollection<stocks> stocks { get; set; } = new List<stocks>();
|
||||
|
||||
public virtual ICollection<tablaalturas> tablaalturas { get; set; } = new List<tablaalturas>();
|
||||
|
||||
@@ -35,6 +35,8 @@ public partial class usuarios
|
||||
|
||||
public virtual ICollection<correos> correos { get; set; } = new List<correos>();
|
||||
|
||||
public virtual ICollection<detallesalbaranes> detallesalbaranes { get; set; } = new List<detallesalbaranes>();
|
||||
|
||||
public virtual ICollection<documentosfacturas> documentosfacturas { get; set; } = new List<documentosfacturas>();
|
||||
|
||||
public virtual ICollection<documentosfacturasrecibidas> documentosfacturasrecibidas { get; set; } = new List<documentosfacturasrecibidas>();
|
||||
@@ -45,8 +47,6 @@ public partial class usuarios
|
||||
|
||||
public virtual ICollection<entidades> entidadesidUsuarioModificadorNavigation { get; set; } = new List<entidades>();
|
||||
|
||||
public virtual ICollection<eventos> eventos { get; set; } = new List<eventos>();
|
||||
|
||||
public virtual ICollection<expedientesarticulos> expedientesarticulos { get; set; } = new List<expedientesarticulos>();
|
||||
|
||||
public virtual ICollection<expedientesentidades> expedientesentidades { get; set; } = new List<expedientesentidades>();
|
||||
@@ -67,6 +67,8 @@ public partial class usuarios
|
||||
|
||||
public virtual ICollection<movimientoscaja> movimientoscajaidUsuarioSupervisaNavigation { get; set; } = new List<movimientoscaja>();
|
||||
|
||||
public virtual ICollection<obras> obras { get; set; } = new List<obras>();
|
||||
|
||||
public virtual ICollection<presupuestos> presupuestos { get; set; } = new List<presupuestos>();
|
||||
|
||||
public virtual ICollection<productos> productosidUsuarioCreadorNavigation { get; set; } = new List<productos>();
|
||||
|
||||
@@ -65,23 +65,25 @@ public partial class v_albaranesextendidos
|
||||
|
||||
public int? idEntidad { get; set; }
|
||||
|
||||
public int? idEvento { get; set; }
|
||||
public int idEmpresa { get; set; }
|
||||
|
||||
public string? DescripcionEvento { get; set; }
|
||||
public int? idObra { get; set; }
|
||||
|
||||
public string? Telefono1Evento { get; set; }
|
||||
public string? DescripcionObra { get; set; }
|
||||
|
||||
public string? Telefono2Evento { get; set; }
|
||||
public string? Telefono1Obra { get; set; }
|
||||
|
||||
public string? PersonaContactoEvento { get; set; }
|
||||
public string? Telefono2Obra { get; set; }
|
||||
|
||||
public string? DireccionEvento { get; set; }
|
||||
public string? PersonaContactoObra { get; set; }
|
||||
|
||||
public string? CodigoPostalEvento { get; set; }
|
||||
public string? DireccionObra { get; set; }
|
||||
|
||||
public string? CodigoMunicipioEvento { get; set; }
|
||||
public string? CodigoPostalObra { get; set; }
|
||||
|
||||
public string? ObservacionesEvento { get; set; }
|
||||
public string? CodigoMunicipioObra { get; set; }
|
||||
|
||||
public string? ObservacionesObra { get; set; }
|
||||
|
||||
public string? NIF { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user