Primera versión estable compatible con linux de WSAsegasa
This commit is contained in:
353
bdAsegasa/CodeTemplates/EFCore/DbContext.t4
Normal file
353
bdAsegasa/CodeTemplates/EFCore/DbContext.t4
Normal file
@@ -0,0 +1,353 @@
|
||||
<#@ template hostSpecific="true" #>
|
||||
<#@ assembly name="Microsoft.EntityFrameworkCore" #>
|
||||
<#@ assembly name="Microsoft.EntityFrameworkCore.Design" #>
|
||||
<#@ assembly name="Microsoft.EntityFrameworkCore.Relational" #>
|
||||
<#@ assembly name="Microsoft.Extensions.DependencyInjection.Abstractions" #>
|
||||
<#@ parameter name="Model" type="Microsoft.EntityFrameworkCore.Metadata.IModel" #>
|
||||
<#@ parameter name="Options" type="Microsoft.EntityFrameworkCore.Scaffolding.ModelCodeGenerationOptions" #>
|
||||
<#@ parameter name="NamespaceHint" type="System.String" #>
|
||||
<#@ import namespace="System.Collections.Generic" #>
|
||||
<#@ import namespace="System.Linq" #>
|
||||
<#@ import namespace="System.Text" #>
|
||||
<#@ import namespace="Microsoft.EntityFrameworkCore" #>
|
||||
<#@ import namespace="Microsoft.EntityFrameworkCore.Design" #>
|
||||
<#@ import namespace="Microsoft.EntityFrameworkCore.Infrastructure" #>
|
||||
<#@ import namespace="Microsoft.EntityFrameworkCore.Scaffolding" #>
|
||||
<#@ import namespace="Microsoft.Extensions.DependencyInjection" #>
|
||||
<#
|
||||
// Template version: 800 - please do NOT remove this line
|
||||
if (!ProductInfo.GetVersion().StartsWith("8.0"))
|
||||
{
|
||||
Warning("Your templates were created using an older version of Entity Framework. Additional features and bug fixes may be available. See https://aka.ms/efcore-docs-updating-templates for more information.");
|
||||
}
|
||||
|
||||
var services = (IServiceProvider)Host;
|
||||
var providerCode = services.GetRequiredService<IProviderConfigurationCodeGenerator>();
|
||||
var annotationCodeGenerator = services.GetRequiredService<IAnnotationCodeGenerator>();
|
||||
var code = services.GetRequiredService<ICSharpHelper>();
|
||||
|
||||
var usings = new List<string>
|
||||
{
|
||||
"System",
|
||||
"System.Collections.Generic",
|
||||
"Microsoft.EntityFrameworkCore"
|
||||
};
|
||||
|
||||
if (NamespaceHint != Options.ModelNamespace
|
||||
&& !string.IsNullOrEmpty(Options.ModelNamespace))
|
||||
{
|
||||
usings.Add(Options.ModelNamespace);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(NamespaceHint))
|
||||
{
|
||||
#>
|
||||
namespace <#= NamespaceHint #>;
|
||||
|
||||
<#
|
||||
}
|
||||
#>
|
||||
public partial class <#= Options.ContextName #> : DbContext
|
||||
{
|
||||
<#
|
||||
if (!Options.SuppressOnConfiguring)
|
||||
{
|
||||
#>
|
||||
public <#= Options.ContextName #>()
|
||||
{
|
||||
}
|
||||
|
||||
<#
|
||||
}
|
||||
#>
|
||||
public <#= Options.ContextName #>(DbContextOptions<<#= Options.ContextName #>> options)
|
||||
: base(options)
|
||||
{
|
||||
}
|
||||
|
||||
<#
|
||||
foreach (var entityType in Model.GetEntityTypes().Where(e => !e.IsSimpleManyToManyJoinEntityType()))
|
||||
{
|
||||
#>
|
||||
public virtual DbSet<<#= entityType.Name #>> <#= entityType.GetDbSetName() #> { get; set; }
|
||||
|
||||
<#
|
||||
}
|
||||
|
||||
if (!Options.SuppressOnConfiguring)
|
||||
{
|
||||
#>
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
<#
|
||||
if (!Options.SuppressConnectionStringWarning)
|
||||
{
|
||||
#>
|
||||
#warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263.
|
||||
<#
|
||||
}
|
||||
#>
|
||||
=> optionsBuilder<#= code.Fragment(providerCode.GenerateUseProvider(Options.ConnectionString), indent: 3) #>;
|
||||
|
||||
<#
|
||||
}
|
||||
|
||||
#>
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
<#
|
||||
var anyConfiguration = false;
|
||||
|
||||
var modelFluentApiCalls = Model.GetFluentApiCalls(annotationCodeGenerator);
|
||||
if (modelFluentApiCalls != null)
|
||||
{
|
||||
usings.AddRange(modelFluentApiCalls.GetRequiredUsings());
|
||||
#>
|
||||
modelBuilder<#= code.Fragment(modelFluentApiCalls, indent: 3) #>;
|
||||
<#
|
||||
anyConfiguration = true;
|
||||
}
|
||||
|
||||
StringBuilder mainEnvironment;
|
||||
foreach (var entityType in Model.GetEntityTypes().Where(e => !e.IsSimpleManyToManyJoinEntityType()))
|
||||
{
|
||||
// Save all previously generated code, and start generating into a new temporary environment
|
||||
mainEnvironment = GenerationEnvironment;
|
||||
GenerationEnvironment = new StringBuilder();
|
||||
|
||||
if (anyConfiguration)
|
||||
{
|
||||
WriteLine("");
|
||||
}
|
||||
|
||||
var anyEntityTypeConfiguration = false;
|
||||
#>
|
||||
modelBuilder.Entity<<#= entityType.Name #>>(entity =>
|
||||
{
|
||||
<#
|
||||
var key = entityType.FindPrimaryKey();
|
||||
if (key != null)
|
||||
{
|
||||
var keyFluentApiCalls = key.GetFluentApiCalls(annotationCodeGenerator);
|
||||
if (keyFluentApiCalls != null
|
||||
|| (!key.IsHandledByConvention() && !Options.UseDataAnnotations))
|
||||
{
|
||||
if (keyFluentApiCalls != null)
|
||||
{
|
||||
usings.AddRange(keyFluentApiCalls.GetRequiredUsings());
|
||||
}
|
||||
#>
|
||||
entity.HasKey(<#= code.Lambda(key.Properties, "e") #>)<#= code.Fragment(keyFluentApiCalls, indent: 4) #>;
|
||||
<#
|
||||
anyEntityTypeConfiguration = true;
|
||||
}
|
||||
}
|
||||
|
||||
var entityTypeFluentApiCalls = entityType.GetFluentApiCalls(annotationCodeGenerator)
|
||||
?.FilterChain(c => !(Options.UseDataAnnotations && c.IsHandledByDataAnnotations));
|
||||
if (entityTypeFluentApiCalls != null)
|
||||
{
|
||||
usings.AddRange(entityTypeFluentApiCalls.GetRequiredUsings());
|
||||
|
||||
if (anyEntityTypeConfiguration)
|
||||
{
|
||||
WriteLine("");
|
||||
}
|
||||
#>
|
||||
entity<#= code.Fragment(entityTypeFluentApiCalls, indent: 4) #>;
|
||||
<#
|
||||
anyEntityTypeConfiguration = true;
|
||||
}
|
||||
|
||||
foreach (var index in entityType.GetIndexes()
|
||||
.Where(i => !(Options.UseDataAnnotations && i.IsHandledByDataAnnotations(annotationCodeGenerator))))
|
||||
{
|
||||
if (anyEntityTypeConfiguration)
|
||||
{
|
||||
WriteLine("");
|
||||
}
|
||||
|
||||
var indexFluentApiCalls = index.GetFluentApiCalls(annotationCodeGenerator);
|
||||
if (indexFluentApiCalls != null)
|
||||
{
|
||||
usings.AddRange(indexFluentApiCalls.GetRequiredUsings());
|
||||
}
|
||||
#>
|
||||
entity.HasIndex(<#= code.Lambda(index.Properties, "e") #>, <#= code.Literal(index.GetDatabaseName()) #>)<#= code.Fragment(indexFluentApiCalls, indent: 4) #>;
|
||||
<#
|
||||
anyEntityTypeConfiguration = true;
|
||||
}
|
||||
|
||||
var firstProperty = true;
|
||||
foreach (var property in entityType.GetProperties())
|
||||
{
|
||||
var propertyFluentApiCalls = property.GetFluentApiCalls(annotationCodeGenerator)
|
||||
?.FilterChain(c => !(Options.UseDataAnnotations && c.IsHandledByDataAnnotations)
|
||||
&& !(c.Method == "IsRequired" && Options.UseNullableReferenceTypes && !property.ClrType.IsValueType));
|
||||
if (propertyFluentApiCalls == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
usings.AddRange(propertyFluentApiCalls.GetRequiredUsings());
|
||||
|
||||
if (anyEntityTypeConfiguration && firstProperty)
|
||||
{
|
||||
WriteLine("");
|
||||
}
|
||||
#>
|
||||
entity.Property(e => e.<#= property.Name #>)<#= code.Fragment(propertyFluentApiCalls, indent: 4) #>;
|
||||
<#
|
||||
anyEntityTypeConfiguration = true;
|
||||
firstProperty = false;
|
||||
}
|
||||
|
||||
foreach (var foreignKey in entityType.GetForeignKeys())
|
||||
{
|
||||
var foreignKeyFluentApiCalls = foreignKey.GetFluentApiCalls(annotationCodeGenerator)
|
||||
?.FilterChain(c => !(Options.UseDataAnnotations && c.IsHandledByDataAnnotations));
|
||||
if (foreignKeyFluentApiCalls == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
usings.AddRange(foreignKeyFluentApiCalls.GetRequiredUsings());
|
||||
|
||||
if (anyEntityTypeConfiguration)
|
||||
{
|
||||
WriteLine("");
|
||||
}
|
||||
#>
|
||||
entity.HasOne(d => d.<#= foreignKey.DependentToPrincipal.Name #>).<#= foreignKey.IsUnique ? "WithOne" : "WithMany" #>(<#= foreignKey.PrincipalToDependent != null ? $"p => p.{foreignKey.PrincipalToDependent.Name}" : "" #>)<#= code.Fragment(foreignKeyFluentApiCalls, indent: 4) #>;
|
||||
<#
|
||||
anyEntityTypeConfiguration = true;
|
||||
}
|
||||
|
||||
foreach (var skipNavigation in entityType.GetSkipNavigations().Where(n => n.IsLeftNavigation()))
|
||||
{
|
||||
if (anyEntityTypeConfiguration)
|
||||
{
|
||||
WriteLine("");
|
||||
}
|
||||
|
||||
var left = skipNavigation.ForeignKey;
|
||||
var leftFluentApiCalls = left.GetFluentApiCalls(annotationCodeGenerator, useStrings: true);
|
||||
var right = skipNavigation.Inverse.ForeignKey;
|
||||
var rightFluentApiCalls = right.GetFluentApiCalls(annotationCodeGenerator, useStrings: true);
|
||||
var joinEntityType = skipNavigation.JoinEntityType;
|
||||
|
||||
if (leftFluentApiCalls != null)
|
||||
{
|
||||
usings.AddRange(leftFluentApiCalls.GetRequiredUsings());
|
||||
}
|
||||
|
||||
if (rightFluentApiCalls != null)
|
||||
{
|
||||
usings.AddRange(rightFluentApiCalls.GetRequiredUsings());
|
||||
}
|
||||
#>
|
||||
entity.HasMany(d => d.<#= skipNavigation.Name #>).WithMany(p => p.<#= skipNavigation.Inverse.Name #>)
|
||||
.UsingEntity<Dictionary<string, object>>(
|
||||
<#= code.Literal(joinEntityType.Name) #>,
|
||||
r => r.HasOne<<#= right.PrincipalEntityType.Name #>>().WithMany()<#= code.Fragment(rightFluentApiCalls, indent: 6) #>,
|
||||
l => l.HasOne<<#= left.PrincipalEntityType.Name #>>().WithMany()<#= code.Fragment(leftFluentApiCalls, indent: 6) #>,
|
||||
j =>
|
||||
{
|
||||
<#
|
||||
var joinKey = joinEntityType.FindPrimaryKey();
|
||||
var joinKeyFluentApiCalls = joinKey.GetFluentApiCalls(annotationCodeGenerator);
|
||||
|
||||
if (joinKeyFluentApiCalls != null)
|
||||
{
|
||||
usings.AddRange(joinKeyFluentApiCalls.GetRequiredUsings());
|
||||
}
|
||||
#>
|
||||
j.HasKey(<#= code.Arguments(joinKey.Properties.Select(e => e.Name)) #>)<#= code.Fragment(joinKeyFluentApiCalls, indent: 7) #>;
|
||||
<#
|
||||
var joinEntityTypeFluentApiCalls = joinEntityType.GetFluentApiCalls(annotationCodeGenerator);
|
||||
if (joinEntityTypeFluentApiCalls != null)
|
||||
{
|
||||
usings.AddRange(joinEntityTypeFluentApiCalls.GetRequiredUsings());
|
||||
#>
|
||||
j<#= code.Fragment(joinEntityTypeFluentApiCalls, indent: 7) #>;
|
||||
<#
|
||||
}
|
||||
|
||||
foreach (var index in joinEntityType.GetIndexes())
|
||||
{
|
||||
var indexFluentApiCalls = index.GetFluentApiCalls(annotationCodeGenerator);
|
||||
if (indexFluentApiCalls != null)
|
||||
{
|
||||
usings.AddRange(indexFluentApiCalls.GetRequiredUsings());
|
||||
}
|
||||
#>
|
||||
j.HasIndex(<#= code.Literal(index.Properties.Select(e => e.Name).ToArray()) #>, <#= code.Literal(index.GetDatabaseName()) #>)<#= code.Fragment(indexFluentApiCalls, indent: 7) #>;
|
||||
<#
|
||||
}
|
||||
|
||||
foreach (var property in joinEntityType.GetProperties())
|
||||
{
|
||||
var propertyFluentApiCalls = property.GetFluentApiCalls(annotationCodeGenerator);
|
||||
if (propertyFluentApiCalls == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
usings.AddRange(propertyFluentApiCalls.GetRequiredUsings());
|
||||
#>
|
||||
j.IndexerProperty<<#= code.Reference(property.ClrType) #>>(<#= code.Literal(property.Name) #>)<#= code.Fragment(propertyFluentApiCalls, indent: 7) #>;
|
||||
<#
|
||||
}
|
||||
#>
|
||||
});
|
||||
<#
|
||||
anyEntityTypeConfiguration = true;
|
||||
}
|
||||
#>
|
||||
});
|
||||
<#
|
||||
// If any signicant code was generated, append it to the main environment
|
||||
if (anyEntityTypeConfiguration)
|
||||
{
|
||||
mainEnvironment.Append(GenerationEnvironment);
|
||||
anyConfiguration = true;
|
||||
}
|
||||
|
||||
// Resume generating code into the main environment
|
||||
GenerationEnvironment = mainEnvironment;
|
||||
}
|
||||
|
||||
foreach (var sequence in Model.GetSequences())
|
||||
{
|
||||
var needsType = sequence.Type != typeof(long);
|
||||
var needsSchema = !string.IsNullOrEmpty(sequence.Schema) && sequence.Schema != sequence.Model.GetDefaultSchema();
|
||||
var sequenceFluentApiCalls = sequence.GetFluentApiCalls(annotationCodeGenerator);
|
||||
#>
|
||||
modelBuilder.HasSequence<#= needsType ? $"<{code.Reference(sequence.Type)}>" : "" #>(<#= code.Literal(sequence.Name) #><#= needsSchema ? $", {code.Literal(sequence.Schema)}" : "" #>)<#= code.Fragment(sequenceFluentApiCalls, indent: 3) #>;
|
||||
<#
|
||||
}
|
||||
|
||||
if (anyConfiguration)
|
||||
{
|
||||
WriteLine("");
|
||||
}
|
||||
#>
|
||||
OnModelCreatingPartial(modelBuilder);
|
||||
}
|
||||
|
||||
partial void OnModelCreatingPartial(ModelBuilder modelBuilder);
|
||||
}
|
||||
<#
|
||||
mainEnvironment = GenerationEnvironment;
|
||||
GenerationEnvironment = new StringBuilder();
|
||||
|
||||
foreach (var ns in usings.Distinct().OrderBy(x => x, new NamespaceComparer()))
|
||||
{
|
||||
#>
|
||||
using <#= ns #>;
|
||||
<#
|
||||
}
|
||||
|
||||
WriteLine("");
|
||||
|
||||
GenerationEnvironment.Append(mainEnvironment);
|
||||
#>
|
||||
176
bdAsegasa/CodeTemplates/EFCore/EntityType.t4
Normal file
176
bdAsegasa/CodeTemplates/EFCore/EntityType.t4
Normal file
@@ -0,0 +1,176 @@
|
||||
<#@ template hostSpecific="true" #>
|
||||
<#@ assembly name="Microsoft.EntityFrameworkCore" #>
|
||||
<#@ assembly name="Microsoft.EntityFrameworkCore.Design" #>
|
||||
<#@ assembly name="Microsoft.EntityFrameworkCore.Relational" #>
|
||||
<#@ assembly name="Microsoft.Extensions.DependencyInjection.Abstractions" #>
|
||||
<#@ parameter name="EntityType" type="Microsoft.EntityFrameworkCore.Metadata.IEntityType" #>
|
||||
<#@ parameter name="Options" type="Microsoft.EntityFrameworkCore.Scaffolding.ModelCodeGenerationOptions" #>
|
||||
<#@ parameter name="NamespaceHint" type="System.String" #>
|
||||
<#@ import namespace="System.Collections.Generic" #>
|
||||
<#@ import namespace="System.ComponentModel.DataAnnotations" #>
|
||||
<#@ import namespace="System.Linq" #>
|
||||
<#@ import namespace="System.Text" #>
|
||||
<#@ import namespace="Microsoft.EntityFrameworkCore" #>
|
||||
<#@ import namespace="Microsoft.EntityFrameworkCore.Design" #>
|
||||
<#@ import namespace="Microsoft.Extensions.DependencyInjection" #>
|
||||
<#
|
||||
// Template version: 800 - please do NOT remove this line
|
||||
if (EntityType.IsSimpleManyToManyJoinEntityType())
|
||||
{
|
||||
// Don't scaffold these
|
||||
return "";
|
||||
}
|
||||
|
||||
var services = (IServiceProvider)Host;
|
||||
var annotationCodeGenerator = services.GetRequiredService<IAnnotationCodeGenerator>();
|
||||
var code = services.GetRequiredService<ICSharpHelper>();
|
||||
|
||||
var usings = new List<string>
|
||||
{
|
||||
"System",
|
||||
"System.Collections.Generic",
|
||||
"PropertyChanged"
|
||||
};
|
||||
|
||||
if (Options.UseDataAnnotations)
|
||||
{
|
||||
usings.Add("System.ComponentModel.DataAnnotations");
|
||||
usings.Add("System.ComponentModel.DataAnnotations.Schema");
|
||||
usings.Add("Microsoft.EntityFrameworkCore");
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(NamespaceHint))
|
||||
{
|
||||
#>
|
||||
namespace <#= NamespaceHint #>;
|
||||
|
||||
<#
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(EntityType.GetComment()))
|
||||
{
|
||||
#>
|
||||
/// <summary>
|
||||
/// <#= code.XmlComment(EntityType.GetComment()) #>
|
||||
/// </summary>
|
||||
<#
|
||||
}
|
||||
|
||||
if (Options.UseDataAnnotations)
|
||||
{
|
||||
foreach (var dataAnnotation in EntityType.GetDataAnnotations(annotationCodeGenerator))
|
||||
{
|
||||
#>
|
||||
<#= code.Fragment(dataAnnotation) #>
|
||||
<#
|
||||
}
|
||||
}
|
||||
#>
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class <#= EntityType.Name #>
|
||||
{
|
||||
<#
|
||||
var firstProperty = true;
|
||||
foreach (var property in EntityType.GetProperties().OrderBy(p => p.GetColumnOrder() ?? -1))
|
||||
{
|
||||
if (!firstProperty)
|
||||
{
|
||||
WriteLine("");
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(property.GetComment()))
|
||||
{
|
||||
#>
|
||||
/// <summary>
|
||||
/// <#= code.XmlComment(property.GetComment(), indent: 1) #>
|
||||
/// </summary>
|
||||
<#
|
||||
}
|
||||
|
||||
if (Options.UseDataAnnotations)
|
||||
{
|
||||
var dataAnnotations = property.GetDataAnnotations(annotationCodeGenerator)
|
||||
.Where(a => !(a.Type == typeof(RequiredAttribute) && Options.UseNullableReferenceTypes && !property.ClrType.IsValueType));
|
||||
foreach (var dataAnnotation in dataAnnotations)
|
||||
{
|
||||
#>
|
||||
<#= code.Fragment(dataAnnotation) #>
|
||||
<#
|
||||
}
|
||||
}
|
||||
|
||||
usings.AddRange(code.GetRequiredUsings(property.ClrType));
|
||||
|
||||
var needsNullable = Options.UseNullableReferenceTypes && property.IsNullable && !property.ClrType.IsValueType;
|
||||
var needsInitializer = Options.UseNullableReferenceTypes && !property.IsNullable && !property.ClrType.IsValueType;
|
||||
#>
|
||||
public <#= code.Reference(property.ClrType) #><#= needsNullable ? "?" : "" #> <#= property.Name #> { get; set; }<#= needsInitializer ? " = null!;" : "" #>
|
||||
<#
|
||||
firstProperty = false;
|
||||
}
|
||||
|
||||
foreach (var navigation in EntityType.GetNavigations())
|
||||
{
|
||||
WriteLine("");
|
||||
|
||||
if (Options.UseDataAnnotations)
|
||||
{
|
||||
foreach (var dataAnnotation in navigation.GetDataAnnotations(annotationCodeGenerator))
|
||||
{
|
||||
#>
|
||||
<#= code.Fragment(dataAnnotation) #>
|
||||
<#
|
||||
}
|
||||
}
|
||||
|
||||
var targetType = navigation.TargetEntityType.Name;
|
||||
if (navigation.IsCollection)
|
||||
{
|
||||
#>
|
||||
public virtual ICollection<<#= targetType #>> <#= navigation.Name #> { get; set; } = new List<<#= targetType #>>();
|
||||
<#
|
||||
}
|
||||
else
|
||||
{
|
||||
var needsNullable = Options.UseNullableReferenceTypes && !(navigation.ForeignKey.IsRequired && navigation.IsOnDependent);
|
||||
var needsInitializer = Options.UseNullableReferenceTypes && navigation.ForeignKey.IsRequired && navigation.IsOnDependent;
|
||||
#>
|
||||
public virtual <#= targetType #><#= needsNullable ? "?" : "" #> <#= navigation.Name #> { get; set; }<#= needsInitializer ? " = null!;" : "" #>
|
||||
<#
|
||||
}
|
||||
}
|
||||
|
||||
foreach (var skipNavigation in EntityType.GetSkipNavigations())
|
||||
{
|
||||
WriteLine("");
|
||||
|
||||
if (Options.UseDataAnnotations)
|
||||
{
|
||||
foreach (var dataAnnotation in skipNavigation.GetDataAnnotations(annotationCodeGenerator))
|
||||
{
|
||||
#>
|
||||
<#= code.Fragment(dataAnnotation) #>
|
||||
<#
|
||||
}
|
||||
}
|
||||
#>
|
||||
public virtual ICollection<<#= skipNavigation.TargetEntityType.Name #>> <#= skipNavigation.Name #> { get; set; } = new List<<#= skipNavigation.TargetEntityType.Name #>>();
|
||||
<#
|
||||
}
|
||||
#>
|
||||
}
|
||||
<#
|
||||
var previousOutput = GenerationEnvironment;
|
||||
GenerationEnvironment = new StringBuilder();
|
||||
|
||||
foreach (var ns in usings.Distinct().OrderBy(x => x, new NamespaceComparer()))
|
||||
{
|
||||
#>
|
||||
using <#= ns #>;
|
||||
<#
|
||||
}
|
||||
|
||||
WriteLine("");
|
||||
|
||||
GenerationEnvironment.Append(previousOutput);
|
||||
#>
|
||||
32
bdAsegasa/Extensiones/liquidacionesagentes.cs
Normal file
32
bdAsegasa/Extensiones/liquidacionesagentes.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace bdAsegasa.db
|
||||
{
|
||||
public partial class liquidacionesagentes
|
||||
{
|
||||
public double TotalFacturaSinIRPF
|
||||
{
|
||||
get
|
||||
{
|
||||
return Math.Round(BaseImponible + IVA, 2, MidpointRounding.AwayFromZero);
|
||||
}
|
||||
}
|
||||
public string NumeroFacturaVF(string? PrefijoPruebas)
|
||||
{
|
||||
if (PrefijoPruebas != null)
|
||||
{
|
||||
|
||||
return PrefijoPruebas + NumeroFactura;
|
||||
}
|
||||
else
|
||||
{
|
||||
return NumeroFactura;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
21
bdAsegasa/Extensiones/peticionesverifactu.cs
Normal file
21
bdAsegasa/Extensiones/peticionesverifactu.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace bdAsegasa.db
|
||||
{
|
||||
public partial class peticionesverifactu
|
||||
{
|
||||
|
||||
public enum EstadoEnum
|
||||
{
|
||||
PENDIENTE_RESPUESTA = 0,
|
||||
CORRECTO = 1,
|
||||
PARCIALMENTE_CORRECTO = 2,
|
||||
INCORRECTO = 10,
|
||||
ENVIO_RECHAZADO_O_CON_ERRORES = 11,
|
||||
}
|
||||
}
|
||||
}
|
||||
71
bdAsegasa/Extensiones/registrosverifactu.cs
Normal file
71
bdAsegasa/Extensiones/registrosverifactu.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using static bdAsegasa.db.registrosverifactu;
|
||||
|
||||
namespace bdAsegasa.db
|
||||
{
|
||||
public partial class registrosverifactu
|
||||
{
|
||||
public string CSV
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.idRespuestaVerifactuNavigation == null)
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
else
|
||||
{
|
||||
return this.idRespuestaVerifactuNavigation.CSV;
|
||||
}
|
||||
}
|
||||
}
|
||||
public string DescripcionEstado
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((EstadoEnum)this.Estado).ToString().Replace("_"," ");
|
||||
}
|
||||
}
|
||||
|
||||
public string DescripcionOperacion
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((OperacionEnum)this.Operacion).ToString().Replace("_", " ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum OperacionEnum
|
||||
{
|
||||
ALTA = 0,
|
||||
SUBSANACION = 1,
|
||||
ALTA_POR_RECHAZO = 2,
|
||||
REENVÍO = 3,
|
||||
ANULACIÓN = 9,
|
||||
CONSULTA_DATOS = 5,
|
||||
OBTENCIÓN_QR = 100
|
||||
}
|
||||
|
||||
public enum EstadoEnum
|
||||
{
|
||||
PENDIENTE_RESPUESTA = 0,
|
||||
CORRECTO = 1,
|
||||
ACEPTADO_CON_ERRORES = 2,
|
||||
INCORRECTO = 3,
|
||||
COMPLETADO = 10
|
||||
}
|
||||
public enum AplicacionEnum
|
||||
{
|
||||
LIQUIDACION_AGENTE = 0,
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
3
bdAsegasa/FodyWeavers.xml
Normal file
3
bdAsegasa/FodyWeavers.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
|
||||
<PropertyChanged />
|
||||
</Weavers>
|
||||
143
bdAsegasa/Utilidades.cs
Normal file
143
bdAsegasa/Utilidades.cs
Normal file
@@ -0,0 +1,143 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using bdAsegasa.dbcontext;
|
||||
using Microsoft.VisualBasic;
|
||||
|
||||
namespace bdAsegasa.db
|
||||
{
|
||||
public class Utilidades
|
||||
{
|
||||
public static string Usuario;
|
||||
|
||||
public static int idUsuario;
|
||||
public static usuarios UsuarioActual;
|
||||
public static string VersionPrograma { get; set; }
|
||||
|
||||
public static EventLog el;
|
||||
public static string DirectorioLogs;
|
||||
private static object oBloqueoLog = new object();
|
||||
public static void AñadeLog(tsUtilidades.Enumeraciones.TipoLog Tipo, string Asunto, string Mensaje, Exception e = null)
|
||||
{
|
||||
// ----------------------------------------------------------------------------------------------------
|
||||
// Descripción Sub: Gestión de logs de la aplicación
|
||||
// Fecha. Creacion: ???
|
||||
// Creada por: manmog
|
||||
// Ultima Modificacion: 24/11/2010
|
||||
//
|
||||
// Modificaciones:
|
||||
// ===============
|
||||
|
||||
lock (oBloqueoLog)
|
||||
{
|
||||
|
||||
|
||||
string sFicheroLog = DirectorioLogs + "Log-" + DateTime.Now.Year.ToString() + DateTime.Now.Month.ToString() + ".txt";
|
||||
try
|
||||
{
|
||||
// if (!(e == null))
|
||||
if (e != null) //davrod
|
||||
{
|
||||
if (el is not null)
|
||||
el.WriteEntry(e.Message + Constants.vbCrLf + e.StackTrace, EventLogEntryType.Error);
|
||||
string sStackTrace = "Tipo excepción: " + e.ToString() + Constants.vbCrLf;
|
||||
var exError = e;
|
||||
do
|
||||
{
|
||||
sStackTrace += exError.StackTrace + Constants.vbCrLf;
|
||||
exError = exError.InnerException;
|
||||
}
|
||||
while (exError != null);
|
||||
if (!string.IsNullOrEmpty(sStackTrace))
|
||||
Mensaje += Constants.vbCrLf + "StackTrace: " + sStackTrace;
|
||||
Anadelogtxt(Mensaje + " --- " + e.StackTrace, sFicheroLog);
|
||||
}
|
||||
|
||||
switch (Tipo)
|
||||
{
|
||||
case tsUtilidades.Enumeraciones.TipoLog.Fallo:
|
||||
case tsUtilidades.Enumeraciones.TipoLog.Advertencia:
|
||||
{
|
||||
if (Tipo == tsUtilidades.Enumeraciones.TipoLog.Fallo)
|
||||
{
|
||||
sFicheroLog = DirectorioLogs + "Errores-" + DateTime.Now.Year.ToString() + DateTime.Now.Month.ToString().PadLeft(2, '0') + ".txt";
|
||||
Asunto = "Error Servicio Tecnosis. " + ". Version:" + VersionPrograma + ". " + Asunto;
|
||||
Mensaje = "Error Servicio Tecnosis. " + DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss") + " Enviado desde " + Environment.MachineName + ". Version:" + VersionPrograma + ". Mensaje: " + Mensaje;
|
||||
}
|
||||
else
|
||||
{
|
||||
Asunto = "Advertencia Servicio Tecnosis. " + ". Version:" + VersionPrograma + ". " + Asunto;
|
||||
Mensaje = "Advertencia Servicio Tecnosis. " + DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss") + " Enviado desde " + Environment.MachineName + ". Version:" + VersionPrograma + ". " + Mensaje;
|
||||
}
|
||||
string sDireccionesEnvio = "sevilla@tecnosis.net";
|
||||
string sServidorSMTP = "mail.tecnosis.net";
|
||||
string sRemitente = "logs@tecnosis.es";
|
||||
tsUtilidades.Correo.Funciones.EnviaCorreo(sServidorSMTP, sRemitente, sDireccionesEnvio, Asunto, Mensaje, null, "", "", sRemitente, "jtvdzklmujkechje", 587, true); //Cambiar contraseña de logs -> LoGs20i9.
|
||||
break;
|
||||
}
|
||||
}
|
||||
// Anadelogtxt(Mensaje + " --- " + e.StackTrace, sFicheroLog);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
sFicheroLog = DirectorioLogs + @"Errores\Errores-" + DateTime.Now.Year.ToString() + DateTime.Now.Month.ToString().PadLeft(2, '0') + ".txt";
|
||||
if (e is not null)
|
||||
Mensaje += " --- " + e.StackTrace;
|
||||
Anadelogtxt(Mensaje + " ---" + ex.Message + " --- " + ex.StackTrace, sFicheroLog);
|
||||
}
|
||||
}
|
||||
}
|
||||
public static void Anadelogtxt(string Mensaje, string FicheroLog)
|
||||
{
|
||||
System.IO.StreamWriter sw = null;
|
||||
try
|
||||
{
|
||||
Mensaje = Mensaje.Replace(Constants.vbCrLf, "---");
|
||||
if (!System.IO.Directory.Exists(System.IO.Path.GetDirectoryName(FicheroLog)))
|
||||
tsUtilidades.Utilidades.CreaEstructuraDirectorio(System.IO.Path.GetDirectoryName(FicheroLog));
|
||||
if (System.IO.File.Exists(FicheroLog))
|
||||
{
|
||||
sw = System.IO.File.AppendText(FicheroLog);
|
||||
}
|
||||
else
|
||||
{
|
||||
sw = System.IO.File.CreateText(FicheroLog);
|
||||
}
|
||||
Mensaje = DateTime.Now.ToString() + "|" + "Ws: " + Process.GetCurrentProcess().WorkingSet64.ToString().PadLeft(20) + " PMS: " + Process.GetCurrentProcess().PrivateMemorySize64.ToString().PadLeft(20) + "|" + Mensaje;
|
||||
|
||||
sw.WriteLine(Mensaje);
|
||||
}
|
||||
|
||||
catch (Exception ex)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
string sDireccionesEnvio = "sevilla@tecnosis.net";
|
||||
string sServidorSMTP = "mail.tecnosis.net";
|
||||
string sRemitente = "logs@tecnosis.es";
|
||||
// tsUtilidades.Correo.Funciones.EnviaCorreo(sServidorSMTP, sRemitente, sDireccionesEnvio, Asunto, Mensaje,,,,, "se9608dc.g")
|
||||
tsUtilidades.Correo.Funciones.EnviaCorreo(sServidorSMTP, sRemitente, sDireccionesEnvio, "Error Anadelogtxt. " + Mensaje, Environment.MachineName + ".- " + ex.Message + Constants.vbCrLf + ex.StackTrace + Constants.vbCrLf + ex.Source, null, "", "", sRemitente, "jtvdzklmujkechje", 587, true); //Cambiar contraseña de logs -> LoGs20i9.
|
||||
}
|
||||
catch (Exception ex2)
|
||||
{
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
try
|
||||
{
|
||||
sw.Close();
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
22
bdAsegasa/bdAsegasa.csproj
Normal file
22
bdAsegasa/bdAsegasa.csproj
Normal file
@@ -0,0 +1,22 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.DynamicLinq" Version="8.6.7" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="8.0.20" />
|
||||
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.3" />
|
||||
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0" />
|
||||
<PackageReference Include="tsEFCore8" Version="1.0.1" />
|
||||
<PackageReference Include="tsUtilidades" Version="1.1.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="db\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
25
bdAsegasa/db/accionessiniestros_eiac.cs
Normal file
25
bdAsegasa/db/accionessiniestros_eiac.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class accionessiniestros_eiac
|
||||
{
|
||||
public int idAccion { get; set; }
|
||||
|
||||
public int? idSiniestroEIAC { get; set; }
|
||||
|
||||
public int? NumeroOrden { get; set; }
|
||||
|
||||
public int? AccionSiniestro { get; set; }
|
||||
|
||||
public DateTime? FechaAccion { get; set; }
|
||||
|
||||
public string? DescripcionAccion { get; set; }
|
||||
|
||||
public int? SituacionAccion { get; set; }
|
||||
|
||||
public virtual siniestros_eiac? idSiniestroEIACNavigation { get; set; }
|
||||
}
|
||||
35
bdAsegasa/db/actassiniestrosagrario.cs
Normal file
35
bdAsegasa/db/actassiniestrosagrario.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class actassiniestrosagrario
|
||||
{
|
||||
public int idActa { get; set; }
|
||||
|
||||
public string? NumeroActa { get; set; }
|
||||
|
||||
public DateOnly? FechaActa { get; set; }
|
||||
|
||||
public int? idPolizaAgrario { get; set; }
|
||||
|
||||
public DateOnly? FechaFirmaFiniquito { get; set; }
|
||||
|
||||
public string? NumeroSiniestro { get; set; }
|
||||
|
||||
public string? NumeroSiniestroAgroseguro { get; set; }
|
||||
|
||||
public DateOnly? FechaOcurrencia { get; set; }
|
||||
|
||||
public int? idCausaSiniestro { get; set; }
|
||||
|
||||
public double? Importe { get; set; }
|
||||
|
||||
public DateOnly? FechaPago { get; set; }
|
||||
|
||||
public virtual enumeraciones? idCausaSiniestroNavigation { get; set; }
|
||||
|
||||
public virtual polizasagrario? idPolizaAgrarioNavigation { get; set; }
|
||||
}
|
||||
25
bdAsegasa/db/actualizacioneshp.cs
Normal file
25
bdAsegasa/db/actualizacioneshp.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class actualizacioneshp
|
||||
{
|
||||
public int idActualizacionHP { get; set; }
|
||||
|
||||
public string? Aplicacion { get; set; }
|
||||
|
||||
public string? ExpresionBusqueda { get; set; }
|
||||
|
||||
public string? idAplicacion { get; set; }
|
||||
|
||||
public DateTime? FechaUltimaActualizacion { get; set; }
|
||||
|
||||
public string? sha1 { get; set; }
|
||||
|
||||
public bool ContieneErrores { get; set; }
|
||||
|
||||
public DateTime? FechaUltimaComprobacion { get; set; }
|
||||
}
|
||||
27
bdAsegasa/db/actualizacionessiniestros_eiac.cs
Normal file
27
bdAsegasa/db/actualizacionessiniestros_eiac.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class actualizacionessiniestros_eiac
|
||||
{
|
||||
public int idActualizacion { get; set; }
|
||||
|
||||
public int idSiniestroEIAC { get; set; }
|
||||
|
||||
public int? idFicheroCompania { get; set; }
|
||||
|
||||
public DateTime Fecha { get; set; }
|
||||
|
||||
public DateTime? FechaVisto { get; set; }
|
||||
|
||||
public int? idUsuarioVisto { get; set; }
|
||||
|
||||
public virtual ficheroscompanias? idFicheroCompaniaNavigation { get; set; }
|
||||
|
||||
public virtual siniestros_eiac idSiniestroEIACNavigation { get; set; } = null!;
|
||||
|
||||
public virtual usuarios? idUsuarioVistoNavigation { get; set; }
|
||||
}
|
||||
125
bdAsegasa/db/agentes.cs
Normal file
125
bdAsegasa/db/agentes.cs
Normal file
@@ -0,0 +1,125 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class agentes
|
||||
{
|
||||
public int idAgente { get; set; }
|
||||
|
||||
public string? Codigo { get; set; }
|
||||
|
||||
public string? Nombre { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla direcciones
|
||||
/// </summary>
|
||||
public int? idDireccion { get; set; }
|
||||
|
||||
public string? CIF { get; set; }
|
||||
|
||||
public DateOnly? FechaAlta { get; set; }
|
||||
|
||||
public DateOnly? FechaBaja { get; set; }
|
||||
|
||||
public string? Telefono1 { get; set; }
|
||||
|
||||
public string? Telefono2 { get; set; }
|
||||
|
||||
public string? Fax { get; set; }
|
||||
|
||||
public string? Clave { get; set; }
|
||||
|
||||
public double? IRPF { get; set; }
|
||||
|
||||
public double? LimiteCondicionesGenerales { get; set; }
|
||||
|
||||
public double? ComisionMenorIgualLimiteEmision { get; set; }
|
||||
|
||||
public double? ComisionMayorLimiteEmision { get; set; }
|
||||
|
||||
public double? ComisionMenorIgualLimiteCartera { get; set; }
|
||||
|
||||
public double? ComisionMayorLimiteCartera { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla enumeraciones
|
||||
/// </summary>
|
||||
public int? idInspector { get; set; }
|
||||
|
||||
public string? CuentaContableC { get; set; }
|
||||
|
||||
public string? CuentaContableR { get; set; }
|
||||
|
||||
public string? IBAN { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// enumeraciones Formas de pago
|
||||
/// </summary>
|
||||
public int? idFormaPago { get; set; }
|
||||
|
||||
public double? Rapell { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// enumeraciones rutas
|
||||
/// </summary>
|
||||
public int? idRuta { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public string? Email { get; set; }
|
||||
|
||||
public string? NumeroColegiado { get; set; }
|
||||
|
||||
public uint? idSuborganizacion { get; set; }
|
||||
|
||||
public string? codigoUsuarioAvant2 { get; set; }
|
||||
|
||||
public string? contrasenaAvant2 { get; set; }
|
||||
|
||||
public string? MapeoCaser { get; set; }
|
||||
|
||||
public string? MapeoAllianz { get; set; }
|
||||
|
||||
public string? MapeoPelayo { get; set; }
|
||||
|
||||
public bool SinAcreditacion { get; set; }
|
||||
|
||||
public string? hashContrasena { get; set; }
|
||||
|
||||
public virtual ICollection<avant2__sso> avant2__sso { get; set; } = new List<avant2__sso>();
|
||||
|
||||
public virtual ICollection<comisionesagentes> comisionesagentes { get; set; } = new List<comisionesagentes>();
|
||||
|
||||
public virtual ICollection<expedientesagentes> expedientesagentes { get; set; } = new List<expedientesagentes>();
|
||||
|
||||
public virtual ICollection<historicocomisiones> historicocomisiones { get; set; } = new List<historicocomisiones>();
|
||||
|
||||
public virtual direcciones? idDireccionNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones? idFormaPagoNavigation { get; set; }
|
||||
|
||||
public virtual usuarios? idInspectorNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones? idRutaNavigation { get; set; }
|
||||
|
||||
public virtual avant2__suborganizaciones? idSuborganizacionNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<incentivos> incentivos { get; set; } = new List<incentivos>();
|
||||
|
||||
public virtual ICollection<liquidacionesagentes> liquidacionesagentes { get; set; } = new List<liquidacionesagentes>();
|
||||
|
||||
public virtual ICollection<personasdecontactoagentes> personasdecontactoagentes { get; set; } = new List<personasdecontactoagentes>();
|
||||
|
||||
public virtual ICollection<polizasagrario> polizasagrario { get; set; } = new List<polizasagrario>();
|
||||
|
||||
public virtual ICollection<polizassg> polizassg { get; set; } = new List<polizassg>();
|
||||
|
||||
public virtual ICollection<recibos> recibos { get; set; } = new List<recibos>();
|
||||
|
||||
public virtual ICollection<regularizacionespagosagentes> regularizacionespagosagentes { get; set; } = new List<regularizacionespagosagentes>();
|
||||
|
||||
public virtual ICollection<subagentes> subagentes { get; set; } = new List<subagentes>();
|
||||
}
|
||||
29
bdAsegasa/db/agentes_subagentes.cs
Normal file
29
bdAsegasa/db/agentes_subagentes.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class agentes_subagentes
|
||||
{
|
||||
public string? id { get; set; }
|
||||
|
||||
public string? agente { get; set; }
|
||||
|
||||
public string? subagente { get; set; }
|
||||
|
||||
public string? clave { get; set; }
|
||||
|
||||
public string? nombre { get; set; }
|
||||
|
||||
public string? Email { get; set; }
|
||||
|
||||
public DateOnly? FechaBaja { get; set; }
|
||||
|
||||
public uint? idSuborganizacion { get; set; }
|
||||
|
||||
public string? codigoUsuarioAvant2 { get; set; }
|
||||
|
||||
public string? contrasenaAvant2 { get; set; }
|
||||
}
|
||||
39
bdAsegasa/db/amortizacionrecibos.cs
Normal file
39
bdAsegasa/db/amortizacionrecibos.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class amortizacionrecibos
|
||||
{
|
||||
public int idAmortizacion { get; set; }
|
||||
|
||||
public int? idRecibo { get; set; }
|
||||
|
||||
public DateOnly FechaInicioAmortizacion { get; set; }
|
||||
|
||||
public DateOnly FechaFinAmortizacion { get; set; }
|
||||
|
||||
public double? PorcentajeAnual { get; set; }
|
||||
|
||||
public DateOnly? FechaBaja { get; set; }
|
||||
|
||||
public int? idMotivoBaja { get; set; }
|
||||
|
||||
public int idEmpresa { get; set; }
|
||||
|
||||
public string? NumeroCuenta { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public DateOnly FechaAlta { get; set; }
|
||||
|
||||
public virtual ICollection<detallesamortizacionrecibos> detallesamortizacionrecibos { get; set; } = new List<detallesamortizacionrecibos>();
|
||||
|
||||
public virtual enumeraciones idEmpresaNavigation { get; set; } = null!;
|
||||
|
||||
public virtual enumeraciones? idMotivoBajaNavigation { get; set; }
|
||||
|
||||
public virtual recibos? idReciboNavigation { get; set; }
|
||||
}
|
||||
19
bdAsegasa/db/aplicacionesasientos.cs
Normal file
19
bdAsegasa/db/aplicacionesasientos.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.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; }
|
||||
}
|
||||
42
bdAsegasa/db/apuntes.cs
Normal file
42
bdAsegasa/db/apuntes.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class apuntes
|
||||
{
|
||||
public int idApunte { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla cuentas
|
||||
/// </summary>
|
||||
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!;
|
||||
}
|
||||
33
bdAsegasa/db/apuntesmodelo.cs
Normal file
33
bdAsegasa/db/apuntesmodelo.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.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; }
|
||||
}
|
||||
51
bdAsegasa/db/asientos.cs
Normal file
51
bdAsegasa/db/asientos.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.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 DateTime 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; }
|
||||
|
||||
public virtual ICollection<liquidacionesagentes> liquidacionesagentes { get; set; } = new List<liquidacionesagentes>();
|
||||
|
||||
public virtual ICollection<liquidacionescompanias> liquidacionescompanias { get; set; } = new List<liquidacionescompanias>();
|
||||
|
||||
public virtual ICollection<pagosliquidacionescias> pagosliquidacionescias { get; set; } = new List<pagosliquidacionescias>();
|
||||
|
||||
public virtual ICollection<recibos> recibosidAsientoDevueltoBancoNavigation { get; set; } = new List<recibos>();
|
||||
|
||||
public virtual ICollection<recibos> recibosidAsientoFacturacionNavigation { get; set; } = new List<recibos>();
|
||||
|
||||
public virtual ICollection<remesas> remesas { get; set; } = new List<remesas>();
|
||||
}
|
||||
25
bdAsegasa/db/asientosmodelos.cs
Normal file
25
bdAsegasa/db/asientosmodelos.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.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; }
|
||||
}
|
||||
33
bdAsegasa/db/autorizacionesgrupos.cs
Normal file
33
bdAsegasa/db/autorizacionesgrupos.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class autorizacionesgrupos
|
||||
{
|
||||
public int idAutorizaciongrupo { get; set; }
|
||||
|
||||
public int? idGrupo { get; set; }
|
||||
|
||||
public int? idPermiso { get; set; }
|
||||
|
||||
public bool PermitirConsultas { get; set; }
|
||||
|
||||
public bool PermitirNuevos { get; set; }
|
||||
|
||||
public bool PermitirModificaciones { get; set; }
|
||||
|
||||
public bool PermitirEliminaciones { get; set; }
|
||||
|
||||
public bool PermitirImpresiones { get; set; }
|
||||
|
||||
public bool PermitirExportar { get; set; }
|
||||
|
||||
public bool OtrosPermisos { get; set; }
|
||||
|
||||
public virtual gruposusuarios? idGrupoNavigation { get; set; }
|
||||
|
||||
public virtual permisos? idPermisoNavigation { get; set; }
|
||||
}
|
||||
33
bdAsegasa/db/autorizacionesusuarios.cs
Normal file
33
bdAsegasa/db/autorizacionesusuarios.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class autorizacionesusuarios
|
||||
{
|
||||
public int idAutorizaciones { get; set; }
|
||||
|
||||
public int? idUsuario { get; set; }
|
||||
|
||||
public int idPermiso { get; set; }
|
||||
|
||||
public bool PermitirConsultas { get; set; }
|
||||
|
||||
public bool PermitirNuevos { get; set; }
|
||||
|
||||
public bool PermitirModificaciones { get; set; }
|
||||
|
||||
public bool PermitirEliminaciones { get; set; }
|
||||
|
||||
public bool PermitirImpresiones { get; set; }
|
||||
|
||||
public bool PermitirExportar { get; set; }
|
||||
|
||||
public bool OtrosPermisos { get; set; }
|
||||
|
||||
public virtual permisos idPermisoNavigation { get; set; } = null!;
|
||||
|
||||
public virtual usuarios? idUsuarioNavigation { get; set; }
|
||||
}
|
||||
25
bdAsegasa/db/avant2__agentes.cs
Normal file
25
bdAsegasa/db/avant2__agentes.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class avant2__agentes
|
||||
{
|
||||
public uint id { get; set; }
|
||||
|
||||
public uint? id_suborganizacion { get; set; }
|
||||
|
||||
public string codigoAgente { get; set; } = null!;
|
||||
|
||||
public string codigoSubAgente { get; set; } = null!;
|
||||
|
||||
public string nombreAgente { get; set; } = null!;
|
||||
|
||||
public string? codigoUsuarioAvant2 { get; set; }
|
||||
|
||||
public string? contraseñaAvant2 { get; set; }
|
||||
|
||||
public virtual avant2__suborganizaciones? id_suborganizacionNavigation { get; set; }
|
||||
}
|
||||
25
bdAsegasa/db/avant2__sso.cs
Normal file
25
bdAsegasa/db/avant2__sso.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class avant2__sso
|
||||
{
|
||||
public uint id { get; set; }
|
||||
|
||||
public int? idAgente { get; set; }
|
||||
|
||||
public int? idSubagente { get; set; }
|
||||
|
||||
public DateTime creacion { get; set; }
|
||||
|
||||
public bool valido { get; set; }
|
||||
|
||||
public string token { get; set; } = null!;
|
||||
|
||||
public virtual agentes? idAgenteNavigation { get; set; }
|
||||
|
||||
public virtual subagentes? idSubagenteNavigation { get; set; }
|
||||
}
|
||||
21
bdAsegasa/db/avant2__suborganizaciones.cs
Normal file
21
bdAsegasa/db/avant2__suborganizaciones.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class avant2__suborganizaciones
|
||||
{
|
||||
public uint id { get; set; }
|
||||
|
||||
public string descripcion { get; set; } = null!;
|
||||
|
||||
public string codigo { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<agentes> agentes { get; set; } = new List<agentes>();
|
||||
|
||||
public virtual ICollection<avant2__agentes> avant2__agentes { get; set; } = new List<avant2__agentes>();
|
||||
|
||||
public virtual ICollection<subagentes> subagentes { get; set; } = new List<subagentes>();
|
||||
}
|
||||
105
bdAsegasa/db/axa__tractores_temp1.cs
Normal file
105
bdAsegasa/db/axa__tractores_temp1.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class axa__tractores_temp1
|
||||
{
|
||||
public int idPoliza { get; set; }
|
||||
|
||||
public DateTime? FechaAlta { get; set; }
|
||||
|
||||
public DateOnly? FechaEnvioCompania { get; set; }
|
||||
|
||||
public string? NumeroPoliza { get; set; }
|
||||
|
||||
public DateOnly? FechaReciboCompania { get; set; }
|
||||
|
||||
public DateOnly FechaEfecto { get; set; }
|
||||
|
||||
public DateOnly FechaVencimiento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla compañia
|
||||
/// </summary>
|
||||
public int idCompania { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla ramos
|
||||
/// </summary>
|
||||
public int idRamo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla agentes
|
||||
/// </summary>
|
||||
public int idAgente { get; set; }
|
||||
|
||||
public int? idSubAgente { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla enumeraciones
|
||||
/// </summary>
|
||||
public int? idTipoCobro { get; set; }
|
||||
|
||||
public string? Matricula { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Tabla Modelos
|
||||
/// </summary>
|
||||
public int? idModelo { get; set; }
|
||||
|
||||
public int NumeroSuplemento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla usuarios, quien da de alta
|
||||
/// </summary>
|
||||
public int? idUsuario { get; set; }
|
||||
|
||||
public DateOnly? FechaBaja { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Tabla enumeraciones
|
||||
/// </summary>
|
||||
public int? idCausaBaja { get; set; }
|
||||
|
||||
public DateOnly? FechaIncorporacionPropuesta { get; set; }
|
||||
|
||||
public bool RechazoSuplemento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Numero de poliza del multitarificador
|
||||
/// </summary>
|
||||
public int? idMultitarificador { get; set; }
|
||||
|
||||
public string? BienesAsegurados { get; set; }
|
||||
|
||||
public string? Coberturas { get; set; }
|
||||
|
||||
public string? Garantias { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public int? idTipoPago { get; set; }
|
||||
|
||||
public DateOnly? FechaMandato { get; set; }
|
||||
|
||||
public int? NumeroDirectorio { get; set; }
|
||||
|
||||
public string? IBAN { get; set; }
|
||||
|
||||
public string? DescripcionSuplemento { get; set; }
|
||||
|
||||
public int? idDuracion { get; set; }
|
||||
|
||||
public int? idSituacion { get; set; }
|
||||
|
||||
public int? idFicheroPresupuesto { get; set; }
|
||||
|
||||
public DateTime? FechaAceptacionPresupuesto { get; set; }
|
||||
|
||||
public int? idOrigenPresupuesto { get; set; }
|
||||
|
||||
public string? ReferenciaAsegasa { get; set; }
|
||||
}
|
||||
105
bdAsegasa/db/axa__tractores_temp2.cs
Normal file
105
bdAsegasa/db/axa__tractores_temp2.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class axa__tractores_temp2
|
||||
{
|
||||
public int idPoliza { get; set; }
|
||||
|
||||
public DateTime? FechaAlta { get; set; }
|
||||
|
||||
public DateOnly? FechaEnvioCompania { get; set; }
|
||||
|
||||
public string? NumeroPoliza { get; set; }
|
||||
|
||||
public DateOnly? FechaReciboCompania { get; set; }
|
||||
|
||||
public DateOnly FechaEfecto { get; set; }
|
||||
|
||||
public DateOnly FechaVencimiento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla compañia
|
||||
/// </summary>
|
||||
public int idCompania { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla ramos
|
||||
/// </summary>
|
||||
public int idRamo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla agentes
|
||||
/// </summary>
|
||||
public int idAgente { get; set; }
|
||||
|
||||
public int? idSubAgente { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla enumeraciones
|
||||
/// </summary>
|
||||
public int? idTipoCobro { get; set; }
|
||||
|
||||
public string? Matricula { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Tabla Modelos
|
||||
/// </summary>
|
||||
public int? idModelo { get; set; }
|
||||
|
||||
public int NumeroSuplemento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla usuarios, quien da de alta
|
||||
/// </summary>
|
||||
public int? idUsuario { get; set; }
|
||||
|
||||
public DateOnly? FechaBaja { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Tabla enumeraciones
|
||||
/// </summary>
|
||||
public int? idCausaBaja { get; set; }
|
||||
|
||||
public DateOnly? FechaIncorporacionPropuesta { get; set; }
|
||||
|
||||
public bool RechazoSuplemento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Numero de poliza del multitarificador
|
||||
/// </summary>
|
||||
public int? idMultitarificador { get; set; }
|
||||
|
||||
public string? BienesAsegurados { get; set; }
|
||||
|
||||
public string? Coberturas { get; set; }
|
||||
|
||||
public string? Garantias { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public int? idTipoPago { get; set; }
|
||||
|
||||
public DateOnly? FechaMandato { get; set; }
|
||||
|
||||
public int? NumeroDirectorio { get; set; }
|
||||
|
||||
public string? IBAN { get; set; }
|
||||
|
||||
public string? DescripcionSuplemento { get; set; }
|
||||
|
||||
public int? idDuracion { get; set; }
|
||||
|
||||
public int? idSituacion { get; set; }
|
||||
|
||||
public int? idFicheroPresupuesto { get; set; }
|
||||
|
||||
public DateTime? FechaAceptacionPresupuesto { get; set; }
|
||||
|
||||
public int? idOrigenPresupuesto { get; set; }
|
||||
|
||||
public string? ReferenciaAsegasa { get; set; }
|
||||
}
|
||||
105
bdAsegasa/db/axa__tractores_temp3.cs
Normal file
105
bdAsegasa/db/axa__tractores_temp3.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class axa__tractores_temp3
|
||||
{
|
||||
public int idPoliza { get; set; }
|
||||
|
||||
public DateTime? FechaAlta { get; set; }
|
||||
|
||||
public DateOnly? FechaEnvioCompania { get; set; }
|
||||
|
||||
public string? NumeroPoliza { get; set; }
|
||||
|
||||
public DateOnly? FechaReciboCompania { get; set; }
|
||||
|
||||
public DateOnly FechaEfecto { get; set; }
|
||||
|
||||
public DateOnly FechaVencimiento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla compañia
|
||||
/// </summary>
|
||||
public int idCompania { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla ramos
|
||||
/// </summary>
|
||||
public int idRamo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla agentes
|
||||
/// </summary>
|
||||
public int idAgente { get; set; }
|
||||
|
||||
public int? idSubAgente { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla enumeraciones
|
||||
/// </summary>
|
||||
public int? idTipoCobro { get; set; }
|
||||
|
||||
public string? Matricula { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Tabla Modelos
|
||||
/// </summary>
|
||||
public int? idModelo { get; set; }
|
||||
|
||||
public int NumeroSuplemento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla usuarios, quien da de alta
|
||||
/// </summary>
|
||||
public int? idUsuario { get; set; }
|
||||
|
||||
public DateOnly? FechaBaja { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Tabla enumeraciones
|
||||
/// </summary>
|
||||
public int? idCausaBaja { get; set; }
|
||||
|
||||
public DateOnly? FechaIncorporacionPropuesta { get; set; }
|
||||
|
||||
public bool RechazoSuplemento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Numero de poliza del multitarificador
|
||||
/// </summary>
|
||||
public int? idMultitarificador { get; set; }
|
||||
|
||||
public string? BienesAsegurados { get; set; }
|
||||
|
||||
public string? Coberturas { get; set; }
|
||||
|
||||
public string? Garantias { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public int? idTipoPago { get; set; }
|
||||
|
||||
public DateOnly? FechaMandato { get; set; }
|
||||
|
||||
public int? NumeroDirectorio { get; set; }
|
||||
|
||||
public string? IBAN { get; set; }
|
||||
|
||||
public string? DescripcionSuplemento { get; set; }
|
||||
|
||||
public int? idDuracion { get; set; }
|
||||
|
||||
public int? idSituacion { get; set; }
|
||||
|
||||
public int? idFicheroPresupuesto { get; set; }
|
||||
|
||||
public DateTime? FechaAceptacionPresupuesto { get; set; }
|
||||
|
||||
public int? idOrigenPresupuesto { get; set; }
|
||||
|
||||
public string? ReferenciaAsegasa { get; set; }
|
||||
}
|
||||
105
bdAsegasa/db/axa__tractores_temp4.cs
Normal file
105
bdAsegasa/db/axa__tractores_temp4.cs
Normal file
@@ -0,0 +1,105 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class axa__tractores_temp4
|
||||
{
|
||||
public int idPoliza { get; set; }
|
||||
|
||||
public DateTime? FechaAlta { get; set; }
|
||||
|
||||
public DateOnly? FechaEnvioCompania { get; set; }
|
||||
|
||||
public string? NumeroPoliza { get; set; }
|
||||
|
||||
public DateOnly? FechaReciboCompania { get; set; }
|
||||
|
||||
public DateOnly FechaEfecto { get; set; }
|
||||
|
||||
public DateOnly FechaVencimiento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla compañia
|
||||
/// </summary>
|
||||
public int idCompania { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla ramos
|
||||
/// </summary>
|
||||
public int idRamo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla agentes
|
||||
/// </summary>
|
||||
public int idAgente { get; set; }
|
||||
|
||||
public int? idSubAgente { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla enumeraciones
|
||||
/// </summary>
|
||||
public int? idTipoCobro { get; set; }
|
||||
|
||||
public string? Matricula { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Tabla Modelos
|
||||
/// </summary>
|
||||
public int? idModelo { get; set; }
|
||||
|
||||
public int NumeroSuplemento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla usuarios, quien da de alta
|
||||
/// </summary>
|
||||
public int? idUsuario { get; set; }
|
||||
|
||||
public DateOnly? FechaBaja { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Tabla enumeraciones
|
||||
/// </summary>
|
||||
public int? idCausaBaja { get; set; }
|
||||
|
||||
public DateOnly? FechaIncorporacionPropuesta { get; set; }
|
||||
|
||||
public bool RechazoSuplemento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Numero de poliza del multitarificador
|
||||
/// </summary>
|
||||
public int? idMultitarificador { get; set; }
|
||||
|
||||
public string? BienesAsegurados { get; set; }
|
||||
|
||||
public string? Coberturas { get; set; }
|
||||
|
||||
public string? Garantias { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public int? idTipoPago { get; set; }
|
||||
|
||||
public DateOnly? FechaMandato { get; set; }
|
||||
|
||||
public int? NumeroDirectorio { get; set; }
|
||||
|
||||
public string? IBAN { get; set; }
|
||||
|
||||
public string? DescripcionSuplemento { get; set; }
|
||||
|
||||
public int? idDuracion { get; set; }
|
||||
|
||||
public int? idSituacion { get; set; }
|
||||
|
||||
public int? idFicheroPresupuesto { get; set; }
|
||||
|
||||
public DateTime? FechaAceptacionPresupuesto { get; set; }
|
||||
|
||||
public int? idOrigenPresupuesto { get; set; }
|
||||
|
||||
public string? ReferenciaAsegasa { get; set; }
|
||||
}
|
||||
17
bdAsegasa/db/bancos.cs
Normal file
17
bdAsegasa/db/bancos.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class bancos
|
||||
{
|
||||
public string Codigo { get; set; } = null!;
|
||||
|
||||
public string? Nombre { get; set; }
|
||||
|
||||
public string? BIC { get; set; }
|
||||
|
||||
public bool? Obsoleto { get; set; }
|
||||
}
|
||||
19
bdAsegasa/db/bloqueos.cs
Normal file
19
bdAsegasa/db/bloqueos.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class bloqueos
|
||||
{
|
||||
public int idBloqueo { get; set; }
|
||||
|
||||
public int idSesion { get; set; }
|
||||
|
||||
public string Aplicacion { get; set; } = null!;
|
||||
|
||||
public string idRegistroBloqueado { get; set; } = null!;
|
||||
|
||||
public virtual sesiones idSesionNavigation { get; set; } = null!;
|
||||
}
|
||||
39
bdAsegasa/db/cajas.cs
Normal file
39
bdAsegasa/db/cajas.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class cajas
|
||||
{
|
||||
public int idCaja { get; set; }
|
||||
|
||||
public string Descripcion { get; set; } = null!;
|
||||
|
||||
public int Tipo { get; set; }
|
||||
|
||||
public int? idPermiso { get; set; }
|
||||
|
||||
public string? IBAN { get; set; }
|
||||
|
||||
public DateOnly? FechaBaja { get; set; }
|
||||
|
||||
public float SaldoAlCierre { get; set; }
|
||||
|
||||
public DateOnly? FechaCierre { get; set; }
|
||||
|
||||
public string? SufijoBancario { get; set; }
|
||||
|
||||
public string Codigo { get; set; } = null!;
|
||||
|
||||
public int Contador { get; set; }
|
||||
|
||||
public string? CuentaContable { get; set; }
|
||||
|
||||
public virtual ICollection<conciliacionesbancarias> conciliacionesbancarias { get; set; } = new List<conciliacionesbancarias>();
|
||||
|
||||
public virtual ICollection<extractosbancarios> extractosbancarios { get; set; } = new List<extractosbancarios>();
|
||||
|
||||
public virtual permisos? idPermisoNavigation { get; set; }
|
||||
}
|
||||
31
bdAsegasa/db/caser__autologin.cs
Normal file
31
bdAsegasa/db/caser__autologin.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class caser__autologin
|
||||
{
|
||||
public uint id { get; set; }
|
||||
|
||||
public string? claveagencia { get; set; }
|
||||
|
||||
public string? subagencia { get; set; }
|
||||
|
||||
public string csb { get; set; } = null!;
|
||||
|
||||
public string? distribuidor { get; set; }
|
||||
|
||||
public string? puntodeventa { get; set; }
|
||||
|
||||
public string? produccionenvigor { get; set; }
|
||||
|
||||
public string? oficina { get; set; }
|
||||
|
||||
public string? terminal { get; set; }
|
||||
|
||||
public string? nivel { get; set; }
|
||||
|
||||
public bool oculto { get; set; }
|
||||
}
|
||||
27
bdAsegasa/db/caser__autologin__agentes.cs
Normal file
27
bdAsegasa/db/caser__autologin__agentes.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class caser__autologin__agentes
|
||||
{
|
||||
public string? agente { get; set; }
|
||||
|
||||
public string? subagente { get; set; }
|
||||
|
||||
public string? nombre { get; set; }
|
||||
|
||||
public string csb { get; set; } = null!;
|
||||
|
||||
public string? distribuidor { get; set; }
|
||||
|
||||
public string? produccionenvigor { get; set; }
|
||||
|
||||
public string? oficina { get; set; }
|
||||
|
||||
public string? terminal { get; set; }
|
||||
|
||||
public string? nivel { get; set; }
|
||||
}
|
||||
17
bdAsegasa/db/caser__marcas.cs
Normal file
17
bdAsegasa/db/caser__marcas.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class caser__marcas
|
||||
{
|
||||
public int id { get; set; }
|
||||
|
||||
public string? MARCA { get; set; }
|
||||
|
||||
public string? FILLER { get; set; }
|
||||
|
||||
public DateTime? FECHA_ACTUALIZACION { get; set; }
|
||||
}
|
||||
19
bdAsegasa/db/caser__modelos.cs
Normal file
19
bdAsegasa/db/caser__modelos.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class caser__modelos
|
||||
{
|
||||
public int id { get; set; }
|
||||
|
||||
public string? MARCA { get; set; }
|
||||
|
||||
public string? MODELO { get; set; }
|
||||
|
||||
public string? FILLER { get; set; }
|
||||
|
||||
public DateTime? FECHA_ACTUALIZACION { get; set; }
|
||||
}
|
||||
15
bdAsegasa/db/caser__tipos_combustible.cs
Normal file
15
bdAsegasa/db/caser__tipos_combustible.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class caser__tipos_combustible
|
||||
{
|
||||
public int id { get; set; }
|
||||
|
||||
public string? CODIGO { get; set; }
|
||||
|
||||
public string? COMBUSTIBLE { get; set; }
|
||||
}
|
||||
25
bdAsegasa/db/caser__tipos_vehiculos.cs
Normal file
25
bdAsegasa/db/caser__tipos_vehiculos.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class caser__tipos_vehiculos
|
||||
{
|
||||
public int id { get; set; }
|
||||
|
||||
public string? COD_TIPO_VEHICULO { get; set; }
|
||||
|
||||
public string? DENOMINACION { get; set; }
|
||||
|
||||
public string? CLASE_VEHICULO { get; set; }
|
||||
|
||||
public string? DESC_CLASE { get; set; }
|
||||
|
||||
public string? CATEGORIA { get; set; }
|
||||
|
||||
public string? FILLER { get; set; }
|
||||
|
||||
public DateTime? FECHA_ACTUALIZACION { get; set; }
|
||||
}
|
||||
59
bdAsegasa/db/caser__versiones.cs
Normal file
59
bdAsegasa/db/caser__versiones.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class caser__versiones
|
||||
{
|
||||
public int id { get; set; }
|
||||
|
||||
public string COD_VEHICULO { get; set; } = null!;
|
||||
|
||||
public string? COD_TIPO_VEHICULO { get; set; }
|
||||
|
||||
public string? MARCA { get; set; }
|
||||
|
||||
public string? MODELO { get; set; }
|
||||
|
||||
public string? VERSION { get; set; }
|
||||
|
||||
public int? PUERTAS { get; set; }
|
||||
|
||||
public int? POTENCIA { get; set; }
|
||||
|
||||
public string? TIPO_VEHICULO { get; set; }
|
||||
|
||||
public string? COMBUSTIBLE { get; set; }
|
||||
|
||||
public int? TARA { get; set; }
|
||||
|
||||
public int? PMA { get; set; }
|
||||
|
||||
public int? CILINDRADA { get; set; }
|
||||
|
||||
public int? VOLUMEN { get; set; }
|
||||
|
||||
public string? CHASIS { get; set; }
|
||||
|
||||
public string? LONGITUD { get; set; }
|
||||
|
||||
public string? CAJA { get; set; }
|
||||
|
||||
public string? CERRAMIENTO { get; set; }
|
||||
|
||||
public string? TECHO { get; set; }
|
||||
|
||||
public int? FECHA_LANZAMIENTO { get; set; }
|
||||
|
||||
public int? PLAZAS { get; set; }
|
||||
|
||||
public string? COD_PROHIBICION { get; set; }
|
||||
|
||||
public string? CLASE_VEHICULO { get; set; }
|
||||
|
||||
public string? FILLER { get; set; }
|
||||
|
||||
public DateTime? FECHA_ACTUALIZACION { get; set; }
|
||||
}
|
||||
27
bdAsegasa/db/celdasinformescontables.cs
Normal file
27
bdAsegasa/db/celdasinformescontables.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.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!;
|
||||
}
|
||||
31
bdAsegasa/db/certificados.cs
Normal file
31
bdAsegasa/db/certificados.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class certificados
|
||||
{
|
||||
public int idCertificado { get; set; }
|
||||
|
||||
public string? Codigo { get; set; }
|
||||
|
||||
public string? CIF { get; set; }
|
||||
|
||||
public string? Tipo { get; set; }
|
||||
|
||||
public string? Titulo { get; set; }
|
||||
|
||||
public string? CERT_ID { get; set; }
|
||||
|
||||
public DateTime? FechaValidez { get; set; }
|
||||
|
||||
public DateTime? FechaCreacion { get; set; }
|
||||
|
||||
public DateTime? FechaCaducidad { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public byte[]? ContenedorClaves { get; set; }
|
||||
}
|
||||
19
bdAsegasa/db/codigospostales.cs
Normal file
19
bdAsegasa/db/codigospostales.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class codigospostales
|
||||
{
|
||||
public int idCodigoPostal { get; set; }
|
||||
|
||||
public string CodigoPostal { get; set; } = null!;
|
||||
|
||||
public string CodigoMunicipio { get; set; } = null!;
|
||||
|
||||
public string? DescripcionAdicional { get; set; }
|
||||
|
||||
public virtual municipios CodigoMunicipioNavigation { get; set; } = null!;
|
||||
}
|
||||
19
bdAsegasa/db/colectivos.cs
Normal file
19
bdAsegasa/db/colectivos.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class colectivos
|
||||
{
|
||||
public int idColectivo { get; set; }
|
||||
|
||||
public string? descripcion { get; set; }
|
||||
|
||||
public string? numeroOrden { get; set; }
|
||||
|
||||
public string? referenciaHP { get; set; }
|
||||
|
||||
public virtual ICollection<polizasagrario> polizasagrario { get; set; } = new List<polizasagrario>();
|
||||
}
|
||||
19
bdAsegasa/db/comarcas.cs
Normal file
19
bdAsegasa/db/comarcas.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class comarcas
|
||||
{
|
||||
public string CodigoComarca { get; set; } = null!;
|
||||
|
||||
public string CodigoProvincia { get; set; } = null!;
|
||||
|
||||
public string? Nombre { get; set; }
|
||||
|
||||
public virtual provincias CodigoProvinciaNavigation { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<municipios> municipios { get; set; } = new List<municipios>();
|
||||
}
|
||||
33
bdAsegasa/db/comisionesagentes.cs
Normal file
33
bdAsegasa/db/comisionesagentes.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class comisionesagentes
|
||||
{
|
||||
public int idComisionAgente { get; set; }
|
||||
|
||||
public int? idAgente { get; set; }
|
||||
|
||||
public int? idCompania { get; set; }
|
||||
|
||||
public int? idRamo { get; set; }
|
||||
|
||||
public double? Limite { get; set; }
|
||||
|
||||
public double? ComisionMenorIgualLimiteEmision { get; set; }
|
||||
|
||||
public double? ComisionMenorIgualLimiteCartera { get; set; }
|
||||
|
||||
public double? ComisionMayorLimiteEmision { get; set; }
|
||||
|
||||
public double? ComisionMayorLimiteCartera { get; set; }
|
||||
|
||||
public virtual agentes? idAgenteNavigation { get; set; }
|
||||
|
||||
public virtual companias? idCompaniaNavigation { get; set; }
|
||||
|
||||
public virtual ramos? idRamoNavigation { get; set; }
|
||||
}
|
||||
37
bdAsegasa/db/comisionescompanias.cs
Normal file
37
bdAsegasa/db/comisionescompanias.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class comisionescompanias
|
||||
{
|
||||
public int idComisionCompania { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla compañias
|
||||
/// </summary>
|
||||
public int? idCompania { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla ramos
|
||||
/// </summary>
|
||||
public int? idRamo { get; set; }
|
||||
|
||||
public double? PorcentajeComisionEmision { get; set; }
|
||||
|
||||
public double? PorcentajeComisionCartera { get; set; }
|
||||
|
||||
public double? PorcentajeComisionEmisionAgente { get; set; }
|
||||
|
||||
public double? PorcentajeComisionCarteraAgente { get; set; }
|
||||
|
||||
public DateOnly? FechaInicioCampana { get; set; }
|
||||
|
||||
public DateOnly? FechaFinCampana { get; set; }
|
||||
|
||||
public virtual companias? idCompaniaNavigation { get; set; }
|
||||
|
||||
public virtual ramos? idRamoNavigation { get; set; }
|
||||
}
|
||||
31
bdAsegasa/db/comisionlineacompania.cs
Normal file
31
bdAsegasa/db/comisionlineacompania.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class comisionlineacompania
|
||||
{
|
||||
public int idComisionLineaCompania { get; set; }
|
||||
|
||||
public int? idCompania { get; set; }
|
||||
|
||||
public DateOnly? fechaInicio { get; set; }
|
||||
|
||||
public DateOnly? fechaFinal { get; set; }
|
||||
|
||||
public string? codigoASEGASA { get; set; }
|
||||
|
||||
public string? planLinea { get; set; }
|
||||
|
||||
public double? porcentajeComision { get; set; }
|
||||
|
||||
public double? porcentajeOGAS { get; set; }
|
||||
|
||||
public double? porcentajeCGI { get; set; }
|
||||
|
||||
public double? incentivos { get; set; }
|
||||
|
||||
public virtual companias? idCompaniaNavigation { get; set; }
|
||||
}
|
||||
133
bdAsegasa/db/companias.cs
Normal file
133
bdAsegasa/db/companias.cs
Normal file
@@ -0,0 +1,133 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class companias
|
||||
{
|
||||
public int idCompania { get; set; }
|
||||
|
||||
public string? Codigo { get; set; }
|
||||
|
||||
public string? CodigoAsegasa { get; set; }
|
||||
|
||||
public string? Nombre { get; set; }
|
||||
|
||||
public string? CodigoAgrario { get; set; }
|
||||
|
||||
public int? idDireccion { get; set; }
|
||||
|
||||
public string? CIF { get; set; }
|
||||
|
||||
public DateOnly? FechaAlta { get; set; }
|
||||
|
||||
public DateOnly? FechaBaja { get; set; }
|
||||
|
||||
public string? Telefono1 { get; set; }
|
||||
|
||||
public string? Telefono2 { get; set; }
|
||||
|
||||
public string? Fax { get; set; }
|
||||
|
||||
public double? LimiteRecargoExterno { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla enumeraciones
|
||||
///
|
||||
/// </summary>
|
||||
public int? idTipoCobro { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla enumeraciones
|
||||
/// </summary>
|
||||
public double? Consorcio { get; set; }
|
||||
|
||||
public int? PlazoRetornoComision { get; set; }
|
||||
|
||||
public int? DiaPlazoRetornoComision { get; set; }
|
||||
|
||||
public string? CBSB { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla enumeraciones
|
||||
/// </summary>
|
||||
public int? idTipoRedondeo { get; set; }
|
||||
|
||||
public string? CuentaRecargosExternos { get; set; }
|
||||
|
||||
public string? CuentaAlCobro { get; set; }
|
||||
|
||||
public double? Rapell { get; set; }
|
||||
|
||||
public string? Sufijo { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public string? Email { get; set; }
|
||||
|
||||
public int? idUsuarioRevisor { get; set; }
|
||||
|
||||
public string? IBANLiquidacion { get; set; }
|
||||
|
||||
public string? emailLiquidacion { get; set; }
|
||||
|
||||
public int FormaLiquidacion { get; set; }
|
||||
|
||||
public string? CodigoDGS { get; set; }
|
||||
|
||||
public double LimiteRemesa { get; set; }
|
||||
|
||||
public int? NumeroDiasLimiteRemesa { get; set; }
|
||||
|
||||
public int? NumeroDiasLimiteFBCartera { get; set; }
|
||||
|
||||
public int? NumeroDiasLimiteFBEmision { get; set; }
|
||||
|
||||
public string? IBANCobros1 { get; set; }
|
||||
|
||||
public string? IBANCobros2 { get; set; }
|
||||
|
||||
public string? IBANCobros3 { get; set; }
|
||||
|
||||
public string? IBANCobros4 { get; set; }
|
||||
|
||||
public string? Usuario { get; set; }
|
||||
|
||||
public string? Contrasenna { get; set; }
|
||||
|
||||
public virtual ICollection<comisionesagentes> comisionesagentes { get; set; } = new List<comisionesagentes>();
|
||||
|
||||
public virtual ICollection<comisionescompanias> comisionescompanias { get; set; } = new List<comisionescompanias>();
|
||||
|
||||
public virtual ICollection<comisionlineacompania> comisionlineacompania { get; set; } = new List<comisionlineacompania>();
|
||||
|
||||
public virtual ICollection<departamentoscontactocompanias> departamentoscontactocompanias { get; set; } = new List<departamentoscontactocompanias>();
|
||||
|
||||
public virtual ICollection<excepcionesciasramos> excepcionesciasramos { get; set; } = new List<excepcionesciasramos>();
|
||||
|
||||
public virtual ICollection<ficheroscompanias> ficheroscompanias { get; set; } = new List<ficheroscompanias>();
|
||||
|
||||
public virtual direcciones? idDireccionNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones? idTipoCobroNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones? idTipoRedondeoNavigation { get; set; }
|
||||
|
||||
public virtual usuarios? idUsuarioRevisorNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<incentivos> incentivos { get; set; } = new List<incentivos>();
|
||||
|
||||
public virtual ICollection<pagosliquidacionescias> pagosliquidacionescias { get; set; } = new List<pagosliquidacionescias>();
|
||||
|
||||
public virtual ICollection<personasdecontactocompanias> personasdecontactocompanias { get; set; } = new List<personasdecontactocompanias>();
|
||||
|
||||
public virtual ICollection<polizasagrario> polizasagrario { get; set; } = new List<polizasagrario>();
|
||||
|
||||
public virtual ICollection<polizassg> polizassg { get; set; } = new List<polizassg>();
|
||||
|
||||
public virtual ICollection<ramosdgscompania> ramosdgscompania { get; set; } = new List<ramosdgscompania>();
|
||||
|
||||
public virtual ICollection<siniestros_eiac> siniestros_eiac { get; set; } = new List<siniestros_eiac>();
|
||||
}
|
||||
19
bdAsegasa/db/conceptosapuntes.cs
Normal file
19
bdAsegasa/db/conceptosapuntes.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.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>();
|
||||
}
|
||||
33
bdAsegasa/db/conciliacionesbancarias.cs
Normal file
33
bdAsegasa/db/conciliacionesbancarias.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class conciliacionesbancarias
|
||||
{
|
||||
public int idconciliacion { get; set; }
|
||||
|
||||
public DateTime FechaConciliacion { get; set; }
|
||||
|
||||
public int? idUsuario { get; set; }
|
||||
|
||||
public float TotalApuntes { get; set; }
|
||||
|
||||
public float TotalMovimientosBancarios { get; set; }
|
||||
|
||||
public DateOnly FechaInicio { get; set; }
|
||||
|
||||
public DateOnly FechaFin { get; set; }
|
||||
|
||||
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; }
|
||||
|
||||
public virtual ICollection<movimientosbancarios> movimientosbancarios { get; set; } = new List<movimientosbancarios>();
|
||||
}
|
||||
19
bdAsegasa/db/conexiones.cs
Normal file
19
bdAsegasa/db/conexiones.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class conexiones
|
||||
{
|
||||
public int idConexion { get; set; }
|
||||
|
||||
public string? Usuario { get; set; }
|
||||
|
||||
public string? ip { get; set; }
|
||||
|
||||
public DateTime? FechaHora { get; set; }
|
||||
|
||||
public int idMysql { get; set; }
|
||||
}
|
||||
29
bdAsegasa/db/conexionesbd.cs
Normal file
29
bdAsegasa/db/conexionesbd.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class conexionesbd
|
||||
{
|
||||
public int idconexionesbd { get; set; }
|
||||
|
||||
public int idgrupobd { get; set; }
|
||||
|
||||
public string? ServidorLocal { get; set; }
|
||||
|
||||
public string? ServidorRemoto { get; set; }
|
||||
|
||||
public int? PuertoLocal { get; set; }
|
||||
|
||||
public int? PuertoRemoto { get; set; }
|
||||
|
||||
public string? Usuario { get; set; }
|
||||
|
||||
public string? Password { get; set; }
|
||||
|
||||
public string? Esquema { get; set; }
|
||||
|
||||
public virtual grupobd idgrupobdNavigation { get; set; } = null!;
|
||||
}
|
||||
65
bdAsegasa/db/correos.cs
Normal file
65
bdAsegasa/db/correos.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class correos
|
||||
{
|
||||
public int idcorreo { get; set; }
|
||||
|
||||
public int? idcuenta { get; set; }
|
||||
|
||||
public string? Remitente { get; set; }
|
||||
|
||||
public string? Destinatario { get; set; }
|
||||
|
||||
public string? Copia { get; set; }
|
||||
|
||||
public string? CopiaOculta { get; set; }
|
||||
|
||||
public string? DireccionRespuesta { get; set; }
|
||||
|
||||
public string? Asunto { get; set; }
|
||||
|
||||
public string? Cuerpo { get; set; }
|
||||
|
||||
public string? RutaFicheroAdjunto { get; set; }
|
||||
|
||||
public int? idFicheroAdjunto { get; set; }
|
||||
|
||||
public DateTime? FechaCreacion { get; set; }
|
||||
|
||||
public DateTime? FechaEnvio { get; set; }
|
||||
|
||||
public DateTime? FechaUltimoIntento { get; set; }
|
||||
|
||||
public DateTime? FechaAnulacion { get; set; }
|
||||
|
||||
public DateTime? FechaAvisoError { get; set; }
|
||||
|
||||
public int? idAplicacion { get; set; }
|
||||
|
||||
public string? CodigoAplicacion { get; set; }
|
||||
|
||||
public bool Reciclable { get; set; }
|
||||
|
||||
public string? DescripcionError { get; set; }
|
||||
|
||||
public virtual ICollection<documentospolizassg> documentospolizassg { get; set; } = new List<documentospolizassg>();
|
||||
|
||||
public virtual ICollection<ficherosadjuntos> ficherosadjuntos { get; set; } = new List<ficherosadjuntos>();
|
||||
|
||||
public virtual ICollection<gestionesrecibos> gestionesrecibos { get; set; } = new List<gestionesrecibos>();
|
||||
|
||||
public virtual ICollection<gestionesvarias> gestionesvarias { get; set; } = new List<gestionesvarias>();
|
||||
|
||||
public virtual ficheros? idFicheroAdjuntoNavigation { get; set; }
|
||||
|
||||
public virtual cuentascorreo? idcuentaNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<liquidacionesagentes> liquidacionesagentes { get; set; } = new List<liquidacionesagentes>();
|
||||
|
||||
public virtual ICollection<pagosliquidacionescias> pagosliquidacionescias { get; set; } = new List<pagosliquidacionescias>();
|
||||
}
|
||||
55
bdAsegasa/db/cuentas.cs
Normal file
55
bdAsegasa/db/cuentas.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.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; }
|
||||
}
|
||||
23
bdAsegasa/db/cuentasceldasinformescontables.cs
Normal file
23
bdAsegasa/db/cuentasceldasinformescontables.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.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; }
|
||||
}
|
||||
37
bdAsegasa/db/cuentascorreo.cs
Normal file
37
bdAsegasa/db/cuentascorreo.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class cuentascorreo
|
||||
{
|
||||
public int idCuenta { get; set; }
|
||||
|
||||
public string? Codigo { get; set; }
|
||||
|
||||
public string? ServidorSMTP { get; set; }
|
||||
|
||||
public string? Remitente { get; set; }
|
||||
|
||||
public string? CuentaCorreo { get; set; }
|
||||
|
||||
public string? Password { get; set; }
|
||||
|
||||
public int? Puerto { get; set; }
|
||||
|
||||
public bool SSL { get; set; }
|
||||
|
||||
public bool Deshabilitada { get; set; }
|
||||
|
||||
public string? ResponderA { get; set; }
|
||||
|
||||
public string? ParametroConexion1 { get; set; }
|
||||
|
||||
public string? ParametroConexion2 { get; set; }
|
||||
|
||||
public DateTime? FechaAvisoCaducidadCredenciales { get; set; }
|
||||
|
||||
public virtual ICollection<correos> correos { get; set; } = new List<correos>();
|
||||
}
|
||||
19
bdAsegasa/db/departamentos.cs
Normal file
19
bdAsegasa/db/departamentos.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class departamentos
|
||||
{
|
||||
public int idDepartamentos { get; set; }
|
||||
|
||||
public string Descripcion { get; set; } = null!;
|
||||
|
||||
public int idUsuarioResponsable { get; set; }
|
||||
|
||||
public virtual ICollection<departamentosmiembros> departamentosmiembros { get; set; } = new List<departamentosmiembros>();
|
||||
|
||||
public virtual usuarios idUsuarioResponsableNavigation { get; set; } = null!;
|
||||
}
|
||||
25
bdAsegasa/db/departamentoscontactocompanias.cs
Normal file
25
bdAsegasa/db/departamentoscontactocompanias.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class departamentoscontactocompanias
|
||||
{
|
||||
public int idDepartamentosContactoCompania { get; set; }
|
||||
|
||||
public int? idCompania { get; set; }
|
||||
|
||||
public int? idDepartamento { get; set; }
|
||||
|
||||
public string? Telefono { get; set; }
|
||||
|
||||
public string? Email { get; set; }
|
||||
|
||||
public bool MostrarEnAPP { get; set; }
|
||||
|
||||
public virtual companias? idCompaniaNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones? idDepartamentoNavigation { get; set; }
|
||||
}
|
||||
23
bdAsegasa/db/departamentosmiembros.cs
Normal file
23
bdAsegasa/db/departamentosmiembros.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class departamentosmiembros
|
||||
{
|
||||
public int idDepartamentosMiembros { get; set; }
|
||||
|
||||
public int idDepartamento { get; set; }
|
||||
|
||||
public int idUsuario { get; set; }
|
||||
|
||||
public int idPuesto { get; set; }
|
||||
|
||||
public virtual departamentos idDepartamentoNavigation { get; set; } = null!;
|
||||
|
||||
public virtual enumeraciones idPuestoNavigation { get; set; } = null!;
|
||||
|
||||
public virtual usuarios idUsuarioNavigation { get; set; } = null!;
|
||||
}
|
||||
19
bdAsegasa/db/destinos.cs
Normal file
19
bdAsegasa/db/destinos.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class destinos
|
||||
{
|
||||
public int idDestinos { get; set; }
|
||||
|
||||
public int idLiquidacionViaje { get; set; }
|
||||
|
||||
public string? Lugar { get; set; }
|
||||
|
||||
public string? Concepto { get; set; }
|
||||
|
||||
public virtual liquidacionesviajes idLiquidacionViajeNavigation { get; set; } = null!;
|
||||
}
|
||||
25
bdAsegasa/db/detallesamortizacionrecibos.cs
Normal file
25
bdAsegasa/db/detallesamortizacionrecibos.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class detallesamortizacionrecibos
|
||||
{
|
||||
public int idDetalle { get; set; }
|
||||
|
||||
public int Mes { get; set; }
|
||||
|
||||
public double ValorAmortizado { get; set; }
|
||||
|
||||
public double ValorAcumulado { get; set; }
|
||||
|
||||
public double ValorResidual { get; set; }
|
||||
|
||||
public int? idAmortizacion { get; set; }
|
||||
|
||||
public DateTime? FechaAplicacion { get; set; }
|
||||
|
||||
public virtual amortizacionrecibos? idAmortizacionNavigation { get; set; }
|
||||
}
|
||||
39
bdAsegasa/db/direcciones.cs
Normal file
39
bdAsegasa/db/direcciones.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class direcciones
|
||||
{
|
||||
public int idDireccion { get; set; }
|
||||
|
||||
public string? Direccion { get; set; }
|
||||
|
||||
public int? idEntidad { get; set; }
|
||||
|
||||
public string? CodigoPostal { get; set; }
|
||||
|
||||
public string? CodigoMunicipio { get; set; }
|
||||
|
||||
public int? idTipo { get; set; }
|
||||
|
||||
public virtual municipios? CodigoMunicipioNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<agentes> agentes { get; set; } = new List<agentes>();
|
||||
|
||||
public virtual ICollection<companias> companias { get; set; } = new List<companias>();
|
||||
|
||||
public virtual ICollection<entidades> entidades { get; set; } = new List<entidades>();
|
||||
|
||||
public virtual ICollection<entidadespolizas> entidadespolizas { get; set; } = new List<entidadespolizas>();
|
||||
|
||||
public virtual entidades? idEntidadNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones? idTipoNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<polizasagrario> polizasagrario { get; set; } = new List<polizasagrario>();
|
||||
|
||||
public virtual ICollection<siniestros_eiac> siniestros_eiac { get; set; } = new List<siniestros_eiac>();
|
||||
}
|
||||
29
bdAsegasa/db/documentosasolicitar.cs
Normal file
29
bdAsegasa/db/documentosasolicitar.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class documentosasolicitar
|
||||
{
|
||||
public int idDocumento { get; set; }
|
||||
|
||||
public int idRamo { get; set; }
|
||||
|
||||
public int idTipo { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public bool SolicitarAAgente { get; set; }
|
||||
|
||||
public bool EnviarEmailAAsegasa { get; set; }
|
||||
|
||||
public bool Obligatorio { get; set; }
|
||||
|
||||
public virtual ICollection<documentospolizassg> documentospolizassg { get; set; } = new List<documentospolizassg>();
|
||||
|
||||
public virtual ramos idRamoNavigation { get; set; } = null!;
|
||||
|
||||
public virtual enumeraciones idTipoNavigation { get; set; } = null!;
|
||||
}
|
||||
27
bdAsegasa/db/documentospolizasagrario.cs
Normal file
27
bdAsegasa/db/documentospolizasagrario.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class documentospolizasagrario
|
||||
{
|
||||
public int idDocumento { get; set; }
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public int idPoliza { get; set; }
|
||||
|
||||
public int? idFichero { get; set; }
|
||||
|
||||
public DateTime? Fecha { get; set; }
|
||||
|
||||
public int? idUsuarioAdjuntaFichero { get; set; }
|
||||
|
||||
public virtual ficheros? idFicheroNavigation { get; set; }
|
||||
|
||||
public virtual polizasagrario idPolizaNavigation { get; set; } = null!;
|
||||
|
||||
public virtual usuarios? idUsuarioAdjuntaFicheroNavigation { get; set; }
|
||||
}
|
||||
53
bdAsegasa/db/documentospolizassg.cs
Normal file
53
bdAsegasa/db/documentospolizassg.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class documentospolizassg
|
||||
{
|
||||
public int idDocumento { get; set; }
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public int idPoliza { get; set; }
|
||||
|
||||
public int? idDocumentoASolicitar { get; set; }
|
||||
|
||||
public int? idFichero { get; set; }
|
||||
|
||||
public DateTime? FechaComprobacion { get; set; }
|
||||
|
||||
public int? idUsuarioComprueba { get; set; }
|
||||
|
||||
public int? idCorreoAsegasa { get; set; }
|
||||
|
||||
public bool Obligatorio { get; set; }
|
||||
|
||||
public DateTime? Fecha { get; set; }
|
||||
|
||||
public int? idUsuarioAdjuntaFichero { get; set; }
|
||||
|
||||
public int? idRecibo { get; set; }
|
||||
|
||||
public string? Codigo { get; set; }
|
||||
|
||||
public int Tipo { get; set; }
|
||||
|
||||
public string? Hash { get; set; }
|
||||
|
||||
public virtual correos? idCorreoAsegasaNavigation { get; set; }
|
||||
|
||||
public virtual documentosasolicitar? idDocumentoASolicitarNavigation { get; set; }
|
||||
|
||||
public virtual ficheros? idFicheroNavigation { get; set; }
|
||||
|
||||
public virtual polizassg idPolizaNavigation { get; set; } = null!;
|
||||
|
||||
public virtual recibos? idReciboNavigation { get; set; }
|
||||
|
||||
public virtual usuarios? idUsuarioAdjuntaFicheroNavigation { get; set; }
|
||||
|
||||
public virtual usuarios? idUsuarioCompruebaNavigation { get; set; }
|
||||
}
|
||||
23
bdAsegasa/db/documentossiniestros.cs
Normal file
23
bdAsegasa/db/documentossiniestros.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class documentossiniestros
|
||||
{
|
||||
public int idDocumento { get; set; }
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public DateTime? Fecha { get; set; }
|
||||
|
||||
public byte[]? Fichero { get; set; }
|
||||
|
||||
public int? idSiniestro { get; set; }
|
||||
|
||||
public string? NombreFichero { get; set; }
|
||||
|
||||
public virtual siniestros? idSiniestroNavigation { get; set; }
|
||||
}
|
||||
35
bdAsegasa/db/documentosvarios.cs
Normal file
35
bdAsegasa/db/documentosvarios.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class documentosvarios
|
||||
{
|
||||
public int idDocumentosVarios { get; set; }
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public int? idUsuarioRevisor { get; set; }
|
||||
|
||||
public DateTime FechaEmision { get; set; }
|
||||
|
||||
public DateTime? FechaRevision { get; set; }
|
||||
|
||||
public DateTime? FechaModificacion { get; set; }
|
||||
|
||||
public int idTipo { get; set; }
|
||||
|
||||
public int idEstado { get; set; }
|
||||
|
||||
public int idFichero { get; set; }
|
||||
|
||||
public virtual enumeraciones idEstadoNavigation { get; set; } = null!;
|
||||
|
||||
public virtual ficheros idFicheroNavigation { get; set; } = null!;
|
||||
|
||||
public virtual enumeraciones idTipoNavigation { get; set; } = null!;
|
||||
|
||||
public virtual usuarios? idUsuarioRevisorNavigation { get; set; }
|
||||
}
|
||||
31
bdAsegasa/db/ejercicioscontables.cs
Normal file
31
bdAsegasa/db/ejercicioscontables.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.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 empresascontables idEmpresaNavigation { get; set; } = null!;
|
||||
}
|
||||
17
bdAsegasa/db/empresascontables.cs
Normal file
17
bdAsegasa/db/empresascontables.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class empresascontables
|
||||
{
|
||||
public int idEmpresaContable { get; set; }
|
||||
|
||||
public string RazonSocial { get; set; } = null!;
|
||||
|
||||
public DateTime? FechaBaja { get; set; }
|
||||
|
||||
public virtual ICollection<ejercicioscontables> ejercicioscontables { get; set; } = new List<ejercicioscontables>();
|
||||
}
|
||||
91
bdAsegasa/db/entidades.cs
Normal file
91
bdAsegasa/db/entidades.cs
Normal file
@@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class entidades
|
||||
{
|
||||
public int idEntidad { get; set; }
|
||||
|
||||
public string? CIF { get; set; }
|
||||
|
||||
public string? RazonSocial { get; set; }
|
||||
|
||||
public string? Apellidos { get; set; }
|
||||
|
||||
public string? Nombre { get; set; }
|
||||
|
||||
public string? Telefono1 { get; set; }
|
||||
|
||||
public string? Telefono2 { get; set; }
|
||||
|
||||
public string? AfiliacionSeguridadSocial { get; set; }
|
||||
|
||||
public string? Email { get; set; }
|
||||
|
||||
public string? IBAN { get; set; }
|
||||
|
||||
public int? idSexo { get; set; }
|
||||
|
||||
public DateOnly? FechaNacimiento { get; set; }
|
||||
|
||||
public DateOnly? FechaExpedicionCarnet { get; set; }
|
||||
|
||||
public int? idTipoPago { get; set; }
|
||||
|
||||
public string? CuentaContable { get; set; }
|
||||
|
||||
public bool VIP { get; set; }
|
||||
|
||||
public string? Situacion { get; set; }
|
||||
|
||||
public string? Observacion { get; set; }
|
||||
|
||||
public bool EsClienteSG { get; set; }
|
||||
|
||||
public bool EsTaller { get; set; }
|
||||
|
||||
public bool EsContrarioSiniestro { get; set; }
|
||||
|
||||
public int? idDireccionPrincipal { get; set; }
|
||||
|
||||
public string? EstadoCivil { get; set; }
|
||||
|
||||
public bool EsClienteSA { get; set; }
|
||||
|
||||
public bool EsProveedor { get; set; }
|
||||
|
||||
public string? SHA1Passwd { get; set; }
|
||||
|
||||
public DateTime? FechaAltaServiciosWeb { get; set; }
|
||||
|
||||
public string? Avisos { get; set; }
|
||||
|
||||
public virtual ICollection<direcciones> direcciones { get; set; } = new List<direcciones>();
|
||||
|
||||
public virtual ICollection<entidades_tokens> entidades_tokens { get; set; } = new List<entidades_tokens>();
|
||||
|
||||
public virtual ICollection<entidadespolizas> entidadespolizas { get; set; } = new List<entidadespolizas>();
|
||||
|
||||
public virtual ICollection<entidadesrelacionadas> entidadesrelacionadasidEntidadHijoNavigation { get; set; } = new List<entidadesrelacionadas>();
|
||||
|
||||
public virtual ICollection<entidadesrelacionadas> entidadesrelacionadasidEntidadPadreNavigation { get; set; } = new List<entidadesrelacionadas>();
|
||||
|
||||
public virtual direcciones? idDireccionPrincipalNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones? idSexoNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones? idTipoPagoNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<personasdecontactoentidades> personasdecontactoentidades { get; set; } = new List<personasdecontactoentidades>();
|
||||
|
||||
public virtual ICollection<polizasagrario> polizasagrarioidAseguradoNavigation { get; set; } = new List<polizasagrario>();
|
||||
|
||||
public virtual ICollection<polizasagrario> polizasagrarioidTomadorNavigation { get; set; } = new List<polizasagrario>();
|
||||
|
||||
public virtual ICollection<siniestros> siniestrosidEntidadContrarioNavigation { get; set; } = new List<siniestros>();
|
||||
|
||||
public virtual ICollection<siniestros> siniestrosidEntidadTallerNavigation { get; set; } = new List<siniestros>();
|
||||
}
|
||||
21
bdAsegasa/db/entidades_tokens.cs
Normal file
21
bdAsegasa/db/entidades_tokens.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class entidades_tokens
|
||||
{
|
||||
public uint id { get; set; }
|
||||
|
||||
public int? idEntidad { get; set; }
|
||||
|
||||
public DateTime creacion { get; set; }
|
||||
|
||||
public bool valido { get; set; }
|
||||
|
||||
public string token { get; set; } = null!;
|
||||
|
||||
public virtual entidades? idEntidadNavigation { get; set; }
|
||||
}
|
||||
50
bdAsegasa/db/entidadespolizas.cs
Normal file
50
bdAsegasa/db/entidadespolizas.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class entidadespolizas
|
||||
{
|
||||
public int idEntidadPoliza { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla polizas
|
||||
/// </summary>
|
||||
public int idPoliza { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla entidad
|
||||
/// </summary>
|
||||
public int idEntidad { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla enumeraciones
|
||||
/// </summary>
|
||||
public bool EsTomador { get; set; }
|
||||
|
||||
public bool EsConductorHabitual { get; set; }
|
||||
|
||||
public bool EsConductorOcasional { get; set; }
|
||||
|
||||
public bool EsPagador { get; set; }
|
||||
|
||||
public bool EsPropietario { get; set; }
|
||||
|
||||
public int? idDireccion { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public string? Telefono1 { get; set; }
|
||||
|
||||
public string? Telefono2 { get; set; }
|
||||
|
||||
public string? Email { get; set; }
|
||||
|
||||
public virtual direcciones? idDireccionNavigation { get; set; }
|
||||
|
||||
public virtual entidades idEntidadNavigation { get; set; } = null!;
|
||||
|
||||
public virtual polizassg idPolizaNavigation { get; set; } = null!;
|
||||
}
|
||||
21
bdAsegasa/db/entidadesrelacionadas.cs
Normal file
21
bdAsegasa/db/entidadesrelacionadas.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class entidadesrelacionadas
|
||||
{
|
||||
public int idEntidadRelacionada { get; set; }
|
||||
|
||||
public int idEntidadPadre { get; set; }
|
||||
|
||||
public int? idEntidadHijo { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public virtual entidades? idEntidadHijoNavigation { get; set; }
|
||||
|
||||
public virtual entidades idEntidadPadreNavigation { get; set; } = null!;
|
||||
}
|
||||
153
bdAsegasa/db/enumeraciones.cs
Normal file
153
bdAsegasa/db/enumeraciones.cs
Normal file
@@ -0,0 +1,153 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class enumeraciones
|
||||
{
|
||||
public int idEnumeracion { get; set; }
|
||||
|
||||
public int idGrupoEnumeracion { get; set; }
|
||||
|
||||
public string? Codigo { get; set; }
|
||||
|
||||
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 int? Orden { get; set; }
|
||||
|
||||
public bool Oculto { get; set; }
|
||||
|
||||
public string? ValorAlfabetico3 { get; set; }
|
||||
|
||||
public string? ValorAlfabetico4 { get; set; }
|
||||
|
||||
public string? ValorAlfabeticoLargo { get; set; }
|
||||
|
||||
public double? ValorNumerico3 { get; set; }
|
||||
|
||||
public double? ValorNumerico4 { get; set; }
|
||||
|
||||
public DateTime? Fecha1 { get; set; }
|
||||
|
||||
public DateTime? Fecha2 { get; set; }
|
||||
|
||||
public DateTime? Fecha3 { get; set; }
|
||||
|
||||
public DateTime? Fecha4 { get; set; }
|
||||
|
||||
public virtual ICollection<actassiniestrosagrario> actassiniestrosagrario { get; set; } = new List<actassiniestrosagrario>();
|
||||
|
||||
public virtual ICollection<agentes> agentesidFormaPagoNavigation { get; set; } = new List<agentes>();
|
||||
|
||||
public virtual ICollection<agentes> agentesidRutaNavigation { get; set; } = new List<agentes>();
|
||||
|
||||
public virtual ICollection<amortizacionrecibos> amortizacionrecibosidEmpresaNavigation { get; set; } = new List<amortizacionrecibos>();
|
||||
|
||||
public virtual ICollection<amortizacionrecibos> amortizacionrecibosidMotivoBajaNavigation { get; set; } = new List<amortizacionrecibos>();
|
||||
|
||||
public virtual ICollection<companias> companiasidTipoCobroNavigation { get; set; } = new List<companias>();
|
||||
|
||||
public virtual ICollection<companias> companiasidTipoRedondeoNavigation { get; set; } = new List<companias>();
|
||||
|
||||
public virtual ICollection<cuentas> cuentas { get; set; } = new List<cuentas>();
|
||||
|
||||
public virtual ICollection<departamentoscontactocompanias> departamentoscontactocompanias { get; set; } = new List<departamentoscontactocompanias>();
|
||||
|
||||
public virtual ICollection<departamentosmiembros> departamentosmiembros { get; set; } = new List<departamentosmiembros>();
|
||||
|
||||
public virtual ICollection<direcciones> direcciones { get; set; } = new List<direcciones>();
|
||||
|
||||
public virtual ICollection<documentosasolicitar> documentosasolicitar { get; set; } = new List<documentosasolicitar>();
|
||||
|
||||
public virtual ICollection<documentosvarios> documentosvariosidEstadoNavigation { get; set; } = new List<documentosvarios>();
|
||||
|
||||
public virtual ICollection<documentosvarios> documentosvariosidTipoNavigation { get; set; } = new List<documentosvarios>();
|
||||
|
||||
public virtual ICollection<entidades> entidadesidSexoNavigation { get; set; } = new List<entidades>();
|
||||
|
||||
public virtual ICollection<entidades> entidadesidTipoPagoNavigation { get; set; } = new List<entidades>();
|
||||
|
||||
public virtual ICollection<expedientespolizas> expedientespolizas { get; set; } = new List<expedientespolizas>();
|
||||
|
||||
public virtual ICollection<expedientesrecibos> expedientesrecibos { get; set; } = new List<expedientesrecibos>();
|
||||
|
||||
public virtual ICollection<ficheros> ficheros { get; set; } = new List<ficheros>();
|
||||
|
||||
public virtual ICollection<gestionespolizasagrario> gestionespolizasagrario { get; set; } = new List<gestionespolizasagrario>();
|
||||
|
||||
public virtual ICollection<gestionespolizassg> gestionespolizassg { get; set; } = new List<gestionespolizassg>();
|
||||
|
||||
public virtual ICollection<gestionesvarias> gestionesvarias { get; set; } = new List<gestionesvarias>();
|
||||
|
||||
public virtual gruposenumeraciones idGrupoEnumeracionNavigation { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<liquidacionesagentes> liquidacionesagentes { get; set; } = new List<liquidacionesagentes>();
|
||||
|
||||
public virtual ICollection<liquidacionescompanias> liquidacionescompanias { get; set; } = new List<liquidacionescompanias>();
|
||||
|
||||
public virtual ICollection<liquidacionesviajes> liquidacionesviajes { get; set; } = new List<liquidacionesviajes>();
|
||||
|
||||
public virtual ICollection<modificacionespolizasagrario> modificacionespolizasagrario { get; set; } = new List<modificacionespolizasagrario>();
|
||||
|
||||
public virtual ICollection<pagossiniestros_eiac> pagossiniestros_eiac { get; set; } = new List<pagossiniestros_eiac>();
|
||||
|
||||
public virtual ICollection<personasdecontactoagentes> personasdecontactoagentes { get; set; } = new List<personasdecontactoagentes>();
|
||||
|
||||
public virtual ICollection<planeslineas> planeslineas { get; set; } = new List<planeslineas>();
|
||||
|
||||
public virtual ICollection<plantillas> plantillasidGrupoNavigation { get; set; } = new List<plantillas>();
|
||||
|
||||
public virtual ICollection<plantillas> plantillasidTipoNavigation { get; set; } = new List<plantillas>();
|
||||
|
||||
public virtual ICollection<polizassg> polizassgidCausaBajaNavigation { get; set; } = new List<polizassg>();
|
||||
|
||||
public virtual ICollection<polizassg> polizassgidDuracionNavigation { get; set; } = new List<polizassg>();
|
||||
|
||||
public virtual ICollection<polizassg> polizassgidSituacionNavigation { get; set; } = new List<polizassg>();
|
||||
|
||||
public virtual ICollection<polizassg> polizassgidTipoCobroNavigation { get; set; } = new List<polizassg>();
|
||||
|
||||
public virtual ICollection<polizassg> polizassgidTipoPagoNavigation { get; set; } = new List<polizassg>();
|
||||
|
||||
public virtual ICollection<procesos> procesosidSubtipoNavigation { get; set; } = new List<procesos>();
|
||||
|
||||
public virtual ICollection<procesos> procesosidTipoNavigation { get; set; } = new List<procesos>();
|
||||
|
||||
public virtual ICollection<ramos> ramosidFamiliaDGSNavigation { get; set; } = new List<ramos>();
|
||||
|
||||
public virtual ICollection<ramos> ramosidFamiliaRamoNavigation { get; set; } = new List<ramos>();
|
||||
|
||||
public virtual ICollection<recibos> recibosidCausaBajaNavigation { get; set; } = new List<recibos>();
|
||||
|
||||
public virtual ICollection<recibos> recibosidCausaDevolucionNavigation { get; set; } = new List<recibos>();
|
||||
|
||||
public virtual ICollection<recibos> recibosidDuracionNavigation { get; set; } = new List<recibos>();
|
||||
|
||||
public virtual ICollection<recibos> recibosidSituacionNavigation { get; set; } = new List<recibos>();
|
||||
|
||||
public virtual ICollection<recibos> recibosidTipoNavigation { get; set; } = new List<recibos>();
|
||||
|
||||
public virtual ICollection<recibos> recibosidTipoPagoNavigation { get; set; } = new List<recibos>();
|
||||
|
||||
public virtual ICollection<remesas> remesas { get; set; } = new List<remesas>();
|
||||
|
||||
public virtual ICollection<siniestros> siniestrosidCulpaNavigation { get; set; } = new List<siniestros>();
|
||||
|
||||
public virtual ICollection<siniestros> siniestrosidTramitacionNavigation { get; set; } = new List<siniestros>();
|
||||
|
||||
public virtual ICollection<tiposgestionsiniestros> tiposgestionsiniestrosidClaseNavigation { get; set; } = new List<tiposgestionsiniestros>();
|
||||
|
||||
public virtual ICollection<tiposgestionsiniestros> tiposgestionsiniestrosidDestinatarioNavigation { get; set; } = new List<tiposgestionsiniestros>();
|
||||
|
||||
public virtual ICollection<usuarios> usuarios { get; set; } = new List<usuarios>();
|
||||
}
|
||||
16
bdAsegasa/db/epiban.cs
Normal file
16
bdAsegasa/db/epiban.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class epiban
|
||||
{
|
||||
/// <summary>
|
||||
/// tabla entidad
|
||||
/// </summary>
|
||||
public int identidad { get; set; }
|
||||
|
||||
public string? IBAN { get; set; }
|
||||
}
|
||||
21
bdAsegasa/db/estadossiniestros_eiac.cs
Normal file
21
bdAsegasa/db/estadossiniestros_eiac.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class estadossiniestros_eiac
|
||||
{
|
||||
public int idEstado { get; set; }
|
||||
|
||||
public int idSiniestroEIAC { get; set; }
|
||||
|
||||
public int NumeroOrden { get; set; }
|
||||
|
||||
public int? SituacionSiniestro { get; set; }
|
||||
|
||||
public string? DescripcionSituacion { get; set; }
|
||||
|
||||
public virtual siniestros_eiac idSiniestroEIACNavigation { get; set; } = null!;
|
||||
}
|
||||
21
bdAsegasa/db/excepcionesciasramos.cs
Normal file
21
bdAsegasa/db/excepcionesciasramos.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class excepcionesciasramos
|
||||
{
|
||||
public int idExcepcion { get; set; }
|
||||
|
||||
public int idCompania { get; set; }
|
||||
|
||||
public int idRamo { get; set; }
|
||||
|
||||
public int NumeroDiasRemesaPago { get; set; }
|
||||
|
||||
public virtual companias idCompaniaNavigation { get; set; } = null!;
|
||||
|
||||
public virtual ramos idRamoNavigation { get; set; } = null!;
|
||||
}
|
||||
27
bdAsegasa/db/expedientesagentes.cs
Normal file
27
bdAsegasa/db/expedientesagentes.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class expedientesagentes
|
||||
{
|
||||
public int idExpediente { get; set; }
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public DateTime? Fecha { get; set; }
|
||||
|
||||
public int? idFichero { get; set; }
|
||||
|
||||
public int? idAgente { get; set; }
|
||||
|
||||
public int? idUsuario { get; set; }
|
||||
|
||||
public virtual agentes? idAgenteNavigation { get; set; }
|
||||
|
||||
public virtual ficheros? idFicheroNavigation { get; set; }
|
||||
|
||||
public virtual usuarios? idUsuarioNavigation { get; set; }
|
||||
}
|
||||
36
bdAsegasa/db/expedientespolizas.cs
Normal file
36
bdAsegasa/db/expedientespolizas.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class expedientespolizas
|
||||
{
|
||||
public int idExpedientePoliza { get; set; }
|
||||
|
||||
public DateTime? FechaHora { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla
|
||||
/// </summary>
|
||||
public int? idTipo { get; set; }
|
||||
|
||||
public string? Valor1Alfabetico { get; set; }
|
||||
|
||||
public string? Valor2Alfabetico { get; set; }
|
||||
|
||||
public string? Valor3Alfabetico { get; set; }
|
||||
|
||||
public double? Valor1Numerico { get; set; }
|
||||
|
||||
public double? Valor2Numerico { get; set; }
|
||||
|
||||
public string? Valor3Numerico { get; set; }
|
||||
|
||||
public int idPoliza { get; set; }
|
||||
|
||||
public virtual polizassg idPolizaNavigation { get; set; } = null!;
|
||||
|
||||
public virtual enumeraciones? idTipoNavigation { get; set; }
|
||||
}
|
||||
32
bdAsegasa/db/expedientesrecibos.cs
Normal file
32
bdAsegasa/db/expedientesrecibos.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class expedientesrecibos
|
||||
{
|
||||
public int idExpedienteRecibo { get; set; }
|
||||
|
||||
public DateTime? FechaHora { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla
|
||||
/// </summary>
|
||||
public int? idTipo { get; set; }
|
||||
|
||||
public string? Valor1Alfabetico { get; set; }
|
||||
|
||||
public string? Valor2Alfabetico { get; set; }
|
||||
|
||||
public double? Valor1Numerico { get; set; }
|
||||
|
||||
public double? Valor2Numerico { get; set; }
|
||||
|
||||
public int? idRecibo { get; set; }
|
||||
|
||||
public virtual recibos? idReciboNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones? idTipoNavigation { get; set; }
|
||||
}
|
||||
31
bdAsegasa/db/expedientessiniestros_eiac.cs
Normal file
31
bdAsegasa/db/expedientessiniestros_eiac.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class expedientessiniestros_eiac
|
||||
{
|
||||
public int idExpedienteEIAC { get; set; }
|
||||
|
||||
public string NumeroExpediente { get; set; } = null!;
|
||||
|
||||
public int EstadoExpediente { get; set; }
|
||||
|
||||
public double? ImporteReserva { get; set; }
|
||||
|
||||
public double? TotalPagos { get; set; }
|
||||
|
||||
public double? TotalRecobros { get; set; }
|
||||
|
||||
public DateTime? FechaInicio { get; set; }
|
||||
|
||||
public DateTime? FechaFin { get; set; }
|
||||
|
||||
public int idSiniestroEIAC { get; set; }
|
||||
|
||||
public int NumeroOrden { get; set; }
|
||||
|
||||
public virtual siniestros_eiac idSiniestroEIACNavigation { get; set; } = null!;
|
||||
}
|
||||
29
bdAsegasa/db/extractosbancarios.cs
Normal file
29
bdAsegasa/db/extractosbancarios.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class extractosbancarios
|
||||
{
|
||||
public int idExtracto { get; set; }
|
||||
|
||||
public int idCaja { get; set; }
|
||||
|
||||
public DateOnly FechaInicial { get; set; }
|
||||
|
||||
public DateOnly FechaFinal { get; set; }
|
||||
|
||||
public float SaldoAnterior { get; set; }
|
||||
|
||||
public DateTime FechaLectura { get; set; }
|
||||
|
||||
public int idUsuario { get; set; }
|
||||
|
||||
public virtual cajas idCajaNavigation { get; set; } = null!;
|
||||
|
||||
public virtual usuarios idUsuarioNavigation { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<movimientosbancarios> movimientosbancarios { get; set; } = new List<movimientosbancarios>();
|
||||
}
|
||||
63
bdAsegasa/db/ficheros.cs
Normal file
63
bdAsegasa/db/ficheros.cs
Normal file
@@ -0,0 +1,63 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class ficheros
|
||||
{
|
||||
public int idFichero { get; set; }
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public DateTime? Fecha { get; set; }
|
||||
|
||||
public int? idTipo { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public byte[]? Fichero { get; set; }
|
||||
|
||||
public string? NombreFichero { get; set; }
|
||||
|
||||
public int? idAplicacion { get; set; }
|
||||
|
||||
public virtual ICollection<correos> correos { get; set; } = new List<correos>();
|
||||
|
||||
public virtual ICollection<documentospolizasagrario> documentospolizasagrario { get; set; } = new List<documentospolizasagrario>();
|
||||
|
||||
public virtual ICollection<documentospolizassg> documentospolizassg { get; set; } = new List<documentospolizassg>();
|
||||
|
||||
public virtual ICollection<documentosvarios> documentosvarios { get; set; } = new List<documentosvarios>();
|
||||
|
||||
public virtual ICollection<expedientesagentes> expedientesagentes { get; set; } = new List<expedientesagentes>();
|
||||
|
||||
public virtual ICollection<ficherosadjuntos> ficherosadjuntos { get; set; } = new List<ficherosadjuntos>();
|
||||
|
||||
public virtual ICollection<gestionesrecibos> gestionesrecibos { get; set; } = new List<gestionesrecibos>();
|
||||
|
||||
public virtual ICollection<gestionessiniestros> gestionessiniestros { get; set; } = new List<gestionessiniestros>();
|
||||
|
||||
public virtual ICollection<gestionesvarias> gestionesvarias { get; set; } = new List<gestionesvarias>();
|
||||
|
||||
public virtual enumeraciones? idTipoNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<informescontables> informescontables { get; set; } = new List<informescontables>();
|
||||
|
||||
public virtual ICollection<liquidacionesagentes> liquidacionesagentes { get; set; } = new List<liquidacionesagentes>();
|
||||
|
||||
public virtual ICollection<notificaciones> notificaciones { get; set; } = new List<notificaciones>();
|
||||
|
||||
public virtual ICollection<pagosliquidacionescias> pagosliquidacionescias { get; set; } = new List<pagosliquidacionescias>();
|
||||
|
||||
public virtual ICollection<plantillas> plantillas { get; set; } = new List<plantillas>();
|
||||
|
||||
public virtual ICollection<polizassg> polizassg { get; set; } = new List<polizassg>();
|
||||
|
||||
public virtual ICollection<procesos> procesos { get; set; } = new List<procesos>();
|
||||
|
||||
public virtual ICollection<remesas> remesas { get; set; } = new List<remesas>();
|
||||
|
||||
public virtual ICollection<tiposgestionsiniestros> tiposgestionsiniestros { get; set; } = new List<tiposgestionsiniestros>();
|
||||
}
|
||||
19
bdAsegasa/db/ficherosadjuntos.cs
Normal file
19
bdAsegasa/db/ficherosadjuntos.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class ficherosadjuntos
|
||||
{
|
||||
public int idFicheroAdjunto { get; set; }
|
||||
|
||||
public int idFichero { get; set; }
|
||||
|
||||
public int idCorreo { get; set; }
|
||||
|
||||
public virtual correos idCorreoNavigation { get; set; } = null!;
|
||||
|
||||
public virtual ficheros idFicheroNavigation { get; set; } = null!;
|
||||
}
|
||||
55
bdAsegasa/db/ficheroscompanias.cs
Normal file
55
bdAsegasa/db/ficheroscompanias.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class ficheroscompanias
|
||||
{
|
||||
public int idFichero { get; set; }
|
||||
|
||||
public DateTime FechaCreacion { get; set; }
|
||||
|
||||
public DateTime? FechaProcesado { get; set; }
|
||||
|
||||
public DateTime? FechaError { get; set; }
|
||||
|
||||
public string? NombreFichero { get; set; }
|
||||
|
||||
public int Tipo { get; set; }
|
||||
|
||||
public int? idUsuario { get; set; }
|
||||
|
||||
public int idCompania { get; set; }
|
||||
|
||||
public byte[]? Fichero { get; set; }
|
||||
|
||||
public string? SHA1 { get; set; }
|
||||
|
||||
public bool ProcesadoSinRecibosCorrectos { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public string? Version { get; set; }
|
||||
|
||||
public bool ContieneRecibos { get; set; }
|
||||
|
||||
public bool ContienePolizas { get; set; }
|
||||
|
||||
public bool ContieneSiniestros { get; set; }
|
||||
|
||||
public bool ContieneLiquidaciones { get; set; }
|
||||
|
||||
public virtual ICollection<actualizacionessiniestros_eiac> actualizacionessiniestros_eiac { get; set; } = new List<actualizacionessiniestros_eiac>();
|
||||
|
||||
public virtual companias idCompaniaNavigation { get; set; } = null!;
|
||||
|
||||
public virtual usuarios? idUsuarioNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<recibos> recibos { get; set; } = new List<recibos>();
|
||||
|
||||
public virtual ICollection<registrosactualizados> registrosactualizados { get; set; } = new List<registrosactualizados>();
|
||||
|
||||
public virtual ICollection<siniestros_eiac> siniestros_eiac { get; set; } = new List<siniestros_eiac>();
|
||||
}
|
||||
19
bdAsegasa/db/ficherosconfiguracion.cs
Normal file
19
bdAsegasa/db/ficherosconfiguracion.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class ficherosconfiguracion
|
||||
{
|
||||
public int idFicheroConfiguracion { get; set; }
|
||||
|
||||
public int? idUsuario { get; set; }
|
||||
|
||||
public string? Codigo { get; set; }
|
||||
|
||||
public byte[]? Configuracion { get; set; }
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
}
|
||||
35
bdAsegasa/db/gestionespolizasagrario.cs
Normal file
35
bdAsegasa/db/gestionespolizasagrario.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class gestionespolizasagrario
|
||||
{
|
||||
public int idGestionPoliza { get; set; }
|
||||
|
||||
public DateTime? Fecha { get; set; }
|
||||
|
||||
public string? GestionesRealizadas { get; set; }
|
||||
|
||||
public int? idUsuario { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public int? idPoliza { get; set; }
|
||||
|
||||
public int? idTipo { get; set; }
|
||||
|
||||
public bool ContieneErrores { get; set; }
|
||||
|
||||
public int? idGestionVarias { get; set; }
|
||||
|
||||
public virtual gestionesvarias? idGestionVariasNavigation { get; set; }
|
||||
|
||||
public virtual polizasagrario? idPolizaNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones? idTipoNavigation { get; set; }
|
||||
|
||||
public virtual usuarios? idUsuarioNavigation { get; set; }
|
||||
}
|
||||
38
bdAsegasa/db/gestionespolizassg.cs
Normal file
38
bdAsegasa/db/gestionespolizassg.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class gestionespolizassg
|
||||
{
|
||||
public int idGestionPoliza { get; set; }
|
||||
|
||||
public DateTime? Fecha { get; set; }
|
||||
|
||||
public string? GestionesRealizadas { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tablas usuarios
|
||||
/// </summary>
|
||||
public int? idUsuario { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public int? idPoliza { get; set; }
|
||||
|
||||
public int? idTipo { get; set; }
|
||||
|
||||
public bool ContieneErrores { get; set; }
|
||||
|
||||
public int? idGestionVarias { get; set; }
|
||||
|
||||
public virtual gestionesvarias? idGestionVariasNavigation { get; set; }
|
||||
|
||||
public virtual polizassg? idPolizaNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones? idTipoNavigation { get; set; }
|
||||
|
||||
public virtual usuarios? idUsuarioNavigation { get; set; }
|
||||
}
|
||||
44
bdAsegasa/db/gestionesrecibos.cs
Normal file
44
bdAsegasa/db/gestionesrecibos.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class gestionesrecibos
|
||||
{
|
||||
public int idGestionRecibo { get; set; }
|
||||
|
||||
public DateTime? Fecha { get; set; }
|
||||
|
||||
public string? GestionesRealizadas { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tablas usuarios
|
||||
/// </summary>
|
||||
public int? idUsuario { get; set; }
|
||||
|
||||
public string? Observaciones { get; set; }
|
||||
|
||||
public int? idRecibo { get; set; }
|
||||
|
||||
public int? Tipo { get; set; }
|
||||
|
||||
public int? FormaComunicacion { get; set; }
|
||||
|
||||
public int? idFichero { get; set; }
|
||||
|
||||
public int? idMensaje { get; set; }
|
||||
|
||||
public int? idCorreo { get; set; }
|
||||
|
||||
public virtual correos? idCorreoNavigation { get; set; }
|
||||
|
||||
public virtual ficheros? idFicheroNavigation { get; set; }
|
||||
|
||||
public virtual mensajes? idMensajeNavigation { get; set; }
|
||||
|
||||
public virtual recibos? idReciboNavigation { get; set; }
|
||||
|
||||
public virtual usuarios? idUsuarioNavigation { get; set; }
|
||||
}
|
||||
44
bdAsegasa/db/gestionessiniestros.cs
Normal file
44
bdAsegasa/db/gestionessiniestros.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class gestionessiniestros
|
||||
{
|
||||
public int idGestionSiniestro { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tabla enumeraciones
|
||||
/// </summary>
|
||||
public int? idTipo { get; set; }
|
||||
|
||||
public DateTime? FechaIntroduccion { get; set; }
|
||||
|
||||
public string? GestionesRealizadas { get; set; }
|
||||
|
||||
public DateOnly? FechaRecordatorio { get; set; }
|
||||
|
||||
public DateOnly? FechaRealizacionAccion { get; set; }
|
||||
|
||||
public int? idFichero { get; set; }
|
||||
|
||||
public int idSiniestro { get; set; }
|
||||
|
||||
public int? idUsuarioCreador { get; set; }
|
||||
|
||||
public int? idUsuarioModificador { get; set; }
|
||||
|
||||
public DateTime? FechaModificacion { get; set; }
|
||||
|
||||
public virtual ficheros? idFicheroNavigation { get; set; }
|
||||
|
||||
public virtual siniestros idSiniestroNavigation { get; set; } = null!;
|
||||
|
||||
public virtual tiposgestionsiniestros? idTipoNavigation { get; set; }
|
||||
|
||||
public virtual usuarios? idUsuarioCreadorNavigation { get; set; }
|
||||
|
||||
public virtual usuarios? idUsuarioModificadorNavigation { get; set; }
|
||||
}
|
||||
37
bdAsegasa/db/gestionesvarias.cs
Normal file
37
bdAsegasa/db/gestionesvarias.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class gestionesvarias
|
||||
{
|
||||
public int idGestion { get; set; }
|
||||
|
||||
public string? Descripción { get; set; }
|
||||
|
||||
public int idTipo { get; set; }
|
||||
|
||||
public int? idFichero { get; set; }
|
||||
|
||||
public DateTime? FechaCreacion { get; set; }
|
||||
|
||||
public DateTime? FechaProcesado { get; set; }
|
||||
|
||||
public int? idAplicacion { get; set; }
|
||||
|
||||
public int? idCorreo { get; set; }
|
||||
|
||||
public string? Parametros { get; set; }
|
||||
|
||||
public virtual ICollection<gestionespolizasagrario> gestionespolizasagrario { get; set; } = new List<gestionespolizasagrario>();
|
||||
|
||||
public virtual ICollection<gestionespolizassg> gestionespolizassg { get; set; } = new List<gestionespolizassg>();
|
||||
|
||||
public virtual correos? idCorreoNavigation { get; set; }
|
||||
|
||||
public virtual ficheros? idFicheroNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones idTipoNavigation { get; set; } = null!;
|
||||
}
|
||||
17
bdAsegasa/db/grupobd.cs
Normal file
17
bdAsegasa/db/grupobd.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class grupobd
|
||||
{
|
||||
public int idGrupoBD { get; set; }
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public virtual ICollection<conexionesbd> conexionesbd { get; set; } = new List<conexionesbd>();
|
||||
|
||||
public virtual ICollection<usuarios> usuarios { get; set; } = new List<usuarios>();
|
||||
}
|
||||
19
bdAsegasa/db/gruposenumeraciones.cs
Normal file
19
bdAsegasa/db/gruposenumeraciones.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
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>();
|
||||
}
|
||||
17
bdAsegasa/db/gruposmenus.cs
Normal file
17
bdAsegasa/db/gruposmenus.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class gruposmenus
|
||||
{
|
||||
public int idGruposMenus { get; set; }
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public virtual ICollection<gruposusuarios> gruposusuarios { get; set; } = new List<gruposusuarios>();
|
||||
|
||||
public virtual ICollection<menus> menus { get; set; } = new List<menus>();
|
||||
}
|
||||
21
bdAsegasa/db/gruposusuarios.cs
Normal file
21
bdAsegasa/db/gruposusuarios.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class gruposusuarios
|
||||
{
|
||||
public int idGrupo { get; set; }
|
||||
|
||||
public string? Descripcion { get; set; }
|
||||
|
||||
public int? idGrupoMenu { get; set; }
|
||||
|
||||
public virtual ICollection<autorizacionesgrupos> autorizacionesgrupos { get; set; } = new List<autorizacionesgrupos>();
|
||||
|
||||
public virtual gruposmenus? idGrupoMenuNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<usuarios> usuarios { get; set; } = new List<usuarios>();
|
||||
}
|
||||
51
bdAsegasa/db/historicocomisiones.cs
Normal file
51
bdAsegasa/db/historicocomisiones.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class historicocomisiones
|
||||
{
|
||||
public int idHistoricoComisiones { get; set; }
|
||||
|
||||
public int idPolizaAgrario { get; set; }
|
||||
|
||||
public int idCodigoAgente { get; set; }
|
||||
|
||||
public double? incentivoAgente { get; set; }
|
||||
|
||||
public double? comisionAgente { get; set; }
|
||||
|
||||
public double? comisionAsegasa { get; set; }
|
||||
|
||||
public double? incentivoAsegasa { get; set; }
|
||||
|
||||
public double? totalComisiones { get; set; }
|
||||
|
||||
public double? primaBaseDeCalculo { get; set; }
|
||||
|
||||
public DateOnly? fechaIncorporacion { get; set; }
|
||||
|
||||
public string? nombreFichero { get; set; }
|
||||
|
||||
public DateOnly? fechaLiquidacion { get; set; }
|
||||
|
||||
public string? numeroLiquidacion { get; set; }
|
||||
|
||||
public int? Ano { get; set; }
|
||||
|
||||
public int? Mes { get; set; }
|
||||
|
||||
public int? dia { get; set; }
|
||||
|
||||
public string? Fase { get; set; }
|
||||
|
||||
public double? comisionesNIFNuevo { get; set; }
|
||||
|
||||
public double? comisionesTomadorPropio { get; set; }
|
||||
|
||||
public virtual agentes idCodigoAgenteNavigation { get; set; } = null!;
|
||||
|
||||
public virtual polizasagrario idPolizaAgrarioNavigation { get; set; } = null!;
|
||||
}
|
||||
29
bdAsegasa/db/incentivos.cs
Normal file
29
bdAsegasa/db/incentivos.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class incentivos
|
||||
{
|
||||
public int idIncentivo { get; set; }
|
||||
|
||||
public int idAgente { get; set; }
|
||||
|
||||
public int idCompania { get; set; }
|
||||
|
||||
public double cantidadInicioCNB { get; set; }
|
||||
|
||||
public double cantidadFinalCNB { get; set; }
|
||||
|
||||
public DateOnly fechaInicioCNB { get; set; }
|
||||
|
||||
public DateOnly? fechaFinCNB { get; set; }
|
||||
|
||||
public double? porcentaje { get; set; }
|
||||
|
||||
public virtual agentes idAgenteNavigation { get; set; } = null!;
|
||||
|
||||
public virtual companias idCompaniaNavigation { get; set; } = null!;
|
||||
}
|
||||
21
bdAsegasa/db/informescontables.cs
Normal file
21
bdAsegasa/db/informescontables.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.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; }
|
||||
}
|
||||
27
bdAsegasa/db/liquidacionesagenterecibos.cs
Normal file
27
bdAsegasa/db/liquidacionesagenterecibos.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class liquidacionesagenterecibos
|
||||
{
|
||||
public int idliquidacionesagenterecibo { get; set; }
|
||||
|
||||
public int idLiquidacionesAgente { get; set; }
|
||||
|
||||
public int idRecibo { get; set; }
|
||||
|
||||
public double? Importe { get; set; }
|
||||
|
||||
public int? idRegularizacion { get; set; }
|
||||
|
||||
public virtual liquidacionesagentes idLiquidacionesAgenteNavigation { get; set; } = null!;
|
||||
|
||||
public virtual recibos idReciboNavigation { get; set; } = null!;
|
||||
|
||||
public virtual regularizacionespagosagentes? idRegularizacionNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<regularizacionespagosagentes> regularizacionespagosagentes { get; set; } = new List<regularizacionespagosagentes>();
|
||||
}
|
||||
73
bdAsegasa/db/liquidacionesagentes.cs
Normal file
73
bdAsegasa/db/liquidacionesagentes.cs
Normal file
@@ -0,0 +1,73 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using PropertyChanged;
|
||||
|
||||
namespace bdAsegasa.db;
|
||||
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class liquidacionesagentes
|
||||
{
|
||||
public int idLiquidacionAgente { get; set; }
|
||||
|
||||
public DateOnly Fecha { get; set; }
|
||||
|
||||
public int idTipoLiquidacion { get; set; }
|
||||
|
||||
public string? ReferenciaHP { get; set; }
|
||||
|
||||
public int BrutoComisiones { get; set; }
|
||||
|
||||
public double BaseImponible { get; set; }
|
||||
|
||||
public double IVA { get; set; }
|
||||
|
||||
public double IRPF { get; set; }
|
||||
|
||||
public double Importe { get; set; }
|
||||
|
||||
public int? NumeroGeneracion { get; set; }
|
||||
|
||||
public int? idFicheroSEPA { get; set; }
|
||||
|
||||
public int? idAsiento { get; set; }
|
||||
|
||||
public int? IdCorreo { get; set; }
|
||||
|
||||
public string? NumeroFactura { get; set; }
|
||||
|
||||
public DateOnly? FechaFactura { get; set; }
|
||||
|
||||
public int? idAgente { get; set; }
|
||||
|
||||
public int? idSerieFactura { get; set; }
|
||||
|
||||
public int? idLiquidacionRectificativa { get; set; }
|
||||
|
||||
public double? PorcentajeIVA { get; set; }
|
||||
|
||||
public string? CIF { get; set; }
|
||||
|
||||
public string? RazonSocial { get; set; }
|
||||
|
||||
public double? PorcentajeIRPF { get; set; }
|
||||
|
||||
public virtual correos? IdCorreoNavigation { get; set; }
|
||||
|
||||
public virtual ICollection<liquidacionesagentes> InverseidLiquidacionRectificativaNavigation { get; set; } = new List<liquidacionesagentes>();
|
||||
|
||||
public virtual agentes? idAgenteNavigation { get; set; }
|
||||
|
||||
public virtual asientos? idAsientoNavigation { get; set; }
|
||||
|
||||
public virtual ficheros? idFicheroSEPANavigation { get; set; }
|
||||
|
||||
public virtual liquidacionesagentes? idLiquidacionRectificativaNavigation { get; set; }
|
||||
|
||||
public virtual seriesfacturas? idSerieFacturaNavigation { get; set; }
|
||||
|
||||
public virtual enumeraciones idTipoLiquidacionNavigation { get; set; } = null!;
|
||||
|
||||
public virtual ICollection<liquidacionesagenterecibos> liquidacionesagenterecibos { get; set; } = new List<liquidacionesagenterecibos>();
|
||||
|
||||
public virtual ICollection<regularizacionespagosagentes> regularizacionespagosagentes { get; set; } = new List<regularizacionespagosagentes>();
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user