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>();
|
||||
Calendario = new HashSet<Calendario>();
|
||||
ComentariosProyecto = new HashSet<ComentariosProyecto>();
|
||||
Solicitud = new HashSet<Solicitud>();
|
||||
FichaTecnica = new HashSet<FichaTecnica>();
|
||||
GotitasNormativas = new HashSet<GotitasNormativas>();
|
||||
}
|
||||
|
|
@ -73,6 +74,9 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
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")]
|
||||
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int IdFichaTecnica { get; set; }
|
||||
|
||||
[StringLength(500)]
|
||||
[Column(TypeName = "ntext")]
|
||||
public string ListaPalabrasClaves { get; set; }
|
||||
|
||||
public int? IdDocumento { get; set; }
|
||||
|
|
|
|||
|
|
@ -496,6 +496,11 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.WithOptional(e => e.DocumentosAdjuntos)
|
||||
.HasForeignKey(e => e.IdDocumento);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
.HasMany(e => e.Solicitud)
|
||||
.WithOptional(e => e.DocumentosAdjuntos)
|
||||
.HasForeignKey(e => e.IdDocumento);
|
||||
|
||||
modelBuilder.Entity<DocumentosAdjuntos>()
|
||||
.HasMany(e => e.FichaTecnica)
|
||||
.WithOptional(e => e.DocumentosAdjuntos)
|
||||
|
|
@ -719,6 +724,10 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
.Property(e => e.DescripcionTipoSolicitud)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Solicitud>()
|
||||
.Property(e => e.DescripcionDocumento)
|
||||
.IsUnicode(false);
|
||||
|
||||
modelBuilder.Entity<Solicitud>()
|
||||
.Property(e => e.UsuarioSistema)
|
||||
.IsUnicode(false);
|
||||
|
|
|
|||
|
|
@ -18,6 +18,11 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(500)]
|
||||
public string DescripcionTipoSolicitud { get; set; }
|
||||
|
||||
public int? IdDocumento { get; set; }
|
||||
|
||||
[StringLength(500)]
|
||||
public string DescripcionDocumento { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string UsuarioSistema { get; set; }
|
||||
|
||||
|
|
@ -64,5 +69,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
public virtual Usuario Usuario { get; set; }
|
||||
|
||||
public virtual Usuario Usuario1 { get; set; }
|
||||
|
||||
public virtual DocumentosAdjuntos DocumentosAdjuntos { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue