git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C327
This commit is contained in:
parent
483132890f
commit
2796285ffe
4 changed files with 21 additions and 1 deletions
|
|
@ -15,6 +15,7 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
BitacoraDocumentos = new HashSet<BitacoraDocumentos>();
|
BitacoraDocumentos = new HashSet<BitacoraDocumentos>();
|
||||||
Calendario = new HashSet<Calendario>();
|
Calendario = new HashSet<Calendario>();
|
||||||
ComentariosProyecto = new HashSet<ComentariosProyecto>();
|
ComentariosProyecto = new HashSet<ComentariosProyecto>();
|
||||||
|
Solicitud = new HashSet<Solicitud>();
|
||||||
FichaTecnica = new HashSet<FichaTecnica>();
|
FichaTecnica = new HashSet<FichaTecnica>();
|
||||||
GotitasNormativas = new HashSet<GotitasNormativas>();
|
GotitasNormativas = new HashSet<GotitasNormativas>();
|
||||||
}
|
}
|
||||||
|
|
@ -73,6 +74,9 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||||
public virtual ICollection<ComentariosProyecto> ComentariosProyecto { get; set; }
|
public virtual ICollection<ComentariosProyecto> ComentariosProyecto { get; set; }
|
||||||
|
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||||
|
public virtual ICollection<Solicitud> Solicitud { get; set; }
|
||||||
|
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||||
public int IdFichaTecnica { get; set; }
|
public int IdFichaTecnica { get; set; }
|
||||||
|
|
||||||
[StringLength(500)]
|
[Column(TypeName = "ntext")]
|
||||||
public string ListaPalabrasClaves { get; set; }
|
public string ListaPalabrasClaves { get; set; }
|
||||||
|
|
||||||
public int? IdDocumento { get; set; }
|
public int? IdDocumento { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -496,6 +496,11 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
.WithOptional(e => e.DocumentosAdjuntos)
|
.WithOptional(e => e.DocumentosAdjuntos)
|
||||||
.HasForeignKey(e => e.IdDocumento);
|
.HasForeignKey(e => e.IdDocumento);
|
||||||
|
|
||||||
|
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||||
|
.HasMany(e => e.Solicitud)
|
||||||
|
.WithOptional(e => e.DocumentosAdjuntos)
|
||||||
|
.HasForeignKey(e => e.IdDocumento);
|
||||||
|
|
||||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||||
.HasMany(e => e.FichaTecnica)
|
.HasMany(e => e.FichaTecnica)
|
||||||
.WithOptional(e => e.DocumentosAdjuntos)
|
.WithOptional(e => e.DocumentosAdjuntos)
|
||||||
|
|
@ -719,6 +724,10 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
.Property(e => e.DescripcionTipoSolicitud)
|
.Property(e => e.DescripcionTipoSolicitud)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
||||||
|
modelBuilder.Entity<Solicitud>()
|
||||||
|
.Property(e => e.DescripcionDocumento)
|
||||||
|
.IsUnicode(false);
|
||||||
|
|
||||||
modelBuilder.Entity<Solicitud>()
|
modelBuilder.Entity<Solicitud>()
|
||||||
.Property(e => e.UsuarioSistema)
|
.Property(e => e.UsuarioSistema)
|
||||||
.IsUnicode(false);
|
.IsUnicode(false);
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,11 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
[StringLength(500)]
|
[StringLength(500)]
|
||||||
public string DescripcionTipoSolicitud { get; set; }
|
public string DescripcionTipoSolicitud { get; set; }
|
||||||
|
|
||||||
|
public int? IdDocumento { get; set; }
|
||||||
|
|
||||||
|
[StringLength(500)]
|
||||||
|
public string DescripcionDocumento { get; set; }
|
||||||
|
|
||||||
[StringLength(200)]
|
[StringLength(200)]
|
||||||
public string UsuarioSistema { get; set; }
|
public string UsuarioSistema { get; set; }
|
||||||
|
|
||||||
|
|
@ -64,5 +69,7 @@ namespace AYA.SlnSinortModel.Sinort
|
||||||
public virtual Usuario Usuario { get; set; }
|
public virtual Usuario Usuario { get; set; }
|
||||||
|
|
||||||
public virtual Usuario Usuario1 { get; set; }
|
public virtual Usuario Usuario1 { get; set; }
|
||||||
|
|
||||||
|
public virtual DocumentosAdjuntos DocumentosAdjuntos { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue