Primera versión

This commit is contained in:
2025-07-25 12:56:07 +02:00
parent 850f9ce69f
commit cea1fdaa34
151 changed files with 26033 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class codigospostales
{
public string CodigoPostal { get; set; } = null!;
public string? CodigoMunicipio { get; set; }
public virtual municipios? CodigoMunicipioNavigation { get; set; }
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class comarcas
{
public string CodigoComarca { get; set; } = null!;
public string CodigoProvincia { get; set; } = null!;
public string? Nombre { get; set; }
public virtual ICollection<municipios> municipios { get; set; } = new List<municipios>();
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class conveniocolectivo
{
public int idConvenioColectivo { get; set; }
public int idEnumeracion { get; set; }
public string? idProvincia { get; set; }
public double? SalarioBase { get; set; }
public double? OtrosCostes { get; set; }
public double CosteAnualTrabajador { get; set; }
public virtual enumeraciones idEnumeracionNavigation { get; set; } = null!;
public virtual provincias? idProvinciaNavigation { get; set; }
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class costedespachoprofesional
{
public int idCosteDespachoProfesional { get; set; }
public int numTrabajadores { get; set; }
public double HorasProduccionAnuales { get; set; }
public double CosteMinimoPersonal { get; set; }
public double CosteMaxPersonal { get; set; }
public double CosteDirectoMedio { get; set; }
public double CostesDirectos { get; set; }
public double CostesIndirectos { get; set; }
public double TotalDespachoProfesional { get; set; }
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class costedespachoprofesionalunused
{
public int idCosteDespachoProfesional { get; set; }
public int numTrabajadores { get; set; }
public double HorasProduccionAnuales { get; set; }
public double CosteMinimoPersonal { get; set; }
public double CosteMaxPersonal { get; set; }
public double CosteDirectoMedio { get; set; }
public double CostesDirectos { get; set; }
public double CostesIndirectos { get; set; }
public double TotalDespachoProfesional { get; set; }
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class costesdirectos
{
public int idcostesdirectos { get; set; }
public int TotalTrabajadores { get; set; }
public int Arquitectos { get; set; }
public int ArquitectosTecnicos { get; set; }
public int Delineantes { get; set; }
public double CosteSalarial { get; set; }
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class documentacion
{
public int iddocumentacion { get; set; }
public string? Descripcion { get; set; }
public double? CoeficienteHoras { get; set; }
public bool Checkeable { get; set; }
public virtual ICollection<tipoproyecto_documentacion> tipoproyecto_documentacion { get; set; } = new List<tipoproyecto_documentacion>();
}

View File

@@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class enumeraciones
{
public int idEnumeracion { get; set; }
public int? idGrupoEnumeracion { get; set; }
public string Codigo { get; set; } = null!;
public string Descripcion { get; set; } = null!;
public string? ValorAlfabetico1 { get; set; }
public string? ValorAlfabetico2 { get; set; }
public double? ValorNumerico1 { get; set; }
public double? ValorNumerico2 { get; set; }
public string? ValorAlfabetico3 { get; set; }
public string? ValorAlfabetico4 { get; set; }
public string? ValorAlfabeticoLargo { get; set; }
public DateTime? Fecha1 { get; set; }
public DateTime? Fecha2 { get; set; }
public int? Orden { get; set; }
public bool Oculto { get; set; }
public virtual ICollection<conveniocolectivo> conveniocolectivo { get; set; } = new List<conveniocolectivo>();
public virtual ICollection<factorescorreccion> factorescorreccion { get; set; } = new List<factorescorreccion>();
public virtual ICollection<ficheros> ficheros { get; set; } = new List<ficheros>();
public virtual gruposenumeraciones? idGrupoEnumeracionNavigation { get; set; }
public virtual ICollection<simulaciones> simulaciones { get; set; } = new List<simulaciones>();
public virtual ICollection<tipologias> tipologias { get; set; } = new List<tipologias>();
public virtual ICollection<tipoproyectos> tipoproyectos { get; set; } = new List<tipoproyectos>();
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class factorescorreccion
{
public int idFactorCorreccion { get; set; }
public int idEnumeracion { get; set; }
public string Descripcion { get; set; } = null!;
public double Coeficiente { get; set; }
public virtual enumeraciones idEnumeracionNavigation { get; set; } = null!;
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class ficheros
{
public int idFichero { get; set; }
public string? Descripcion { get; set; }
public DateTime? FechaCreacion { get; set; }
public int? idTipo { get; set; }
public string? Observaciones { get; set; }
public byte[]? Fichero { get; set; }
public string? NombreFichero { get; set; }
public string? Codigo { get; set; }
public virtual enumeraciones? idTipoNavigation { get; set; }
public virtual ICollection<simulaciones> simulaciones { get; set; } = new List<simulaciones>();
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class gruposenumeraciones
{
public int idGrupoEnumeracion { get; set; }
public string Grupo { get; set; } = null!;
public string? Descripcion { get; set; }
public bool? Oculto { get; set; }
public virtual ICollection<enumeraciones> enumeraciones { get; set; } = new List<enumeraciones>();
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class municipios
{
public string CodigoMunicipio { get; set; } = null!;
public string? CodigoComarca { get; set; }
public string? CodigoProvincia { get; set; }
public string? Nombre { get; set; }
public string? DC { get; set; }
public virtual comarcas? CodigoComarcaNavigation { get; set; }
public virtual provincias? CodigoProvinciaNavigation { get; set; }
public virtual ICollection<codigospostales> codigospostales { get; set; } = new List<codigospostales>();
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class provincias
{
public string CodigoProvincia { get; set; } = null!;
public string? Nombre { get; set; }
public virtual ICollection<conveniocolectivo> conveniocolectivo { get; set; } = new List<conveniocolectivo>();
public virtual ICollection<municipios> municipios { get; set; } = new List<municipios>();
}

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class simulaciones
{
public int idSimulacion { get; set; }
public int idCodigo { get; set; }
public string Descripcion { get; set; } = null!;
public int idTipoSimulacion { get; set; }
public int idFicheroJSON { get; set; }
public DateTime FechaCreacion { get; set; }
public DateTime? FechaModificacion { get; set; }
public bool Ocultar { get; set; }
public double? CostesDirectos { get; set; }
public double? CostesIndirectos { get; set; }
public double? CostesVariables { get; set; }
public virtual usuarios idCodigoNavigation { get; set; } = null!;
public virtual ficheros idFicheroJSONNavigation { get; set; } = null!;
public virtual enumeraciones idTipoSimulacionNavigation { get; set; } = null!;
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class tipologias
{
public int idtipologia { get; set; }
public int idGrupoTip { get; set; }
public string Descripcion { get; set; } = null!;
public double CoeficienteUso { get; set; }
public virtual enumeraciones idGrupoTipNavigation { get; set; } = null!;
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class tipoproyecto_documentacion
{
public int idtipoproyecto_documentacion { get; set; }
public int? idtipoproyecto { get; set; }
public int? iddocumentacion { get; set; }
public bool? esMinima { get; set; }
public bool? esOpcional { get; set; }
public bool? esNecesario { get; set; }
public int orden { get; set; }
public virtual documentacion? iddocumentacionNavigation { get; set; }
public virtual tipoproyectos? idtipoproyectoNavigation { get; set; }
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
/// <summary>
///
/// </summary>
public partial class tipoproyectos
{
public int idtipoproyectos { get; set; }
public int idTipoDocumento { get; set; }
public string? Descripcion { get; set; }
public string? Abreviatura { get; set; }
public virtual enumeraciones idTipoDocumentoNavigation { get; set; } = null!;
public virtual ICollection<tipoproyecto_documentacion> tipoproyecto_documentacion { get; set; } = new List<tipoproyecto_documentacion>();
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class usuarios
{
public int idUsuario { get; set; }
public int Codigo { get; set; }
public string Contrasena { get; set; } = null!;
public DateTime FechaCreacion { get; set; }
public DateTime FechaUltimoAcceso { get; set; }
public virtual ICollection<simulaciones> simulaciones { get; set; } = new List<simulaciones>();
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace bdHerramientaCACOA.db;
public partial class v_tipoproyecto_documentacion
{
public int idtipoproyecto_documentacion { get; set; }
public int? idtipoproyecto { get; set; }
public string? tipoproyecto { get; set; }
public int? iddocumentacion { get; set; }
public string? documentacion { get; set; }
public bool? esMinima { get; set; }
public bool? esOpcional { get; set; }
public bool? esNecesario { get; set; }
public int orden { get; set; }
}