43 lines
1.5 KiB
C#
43 lines
1.5 KiB
C#
namespace AYA.SlnSynorModel.BD
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Data.Entity.Spatial;
|
|
|
|
[Table("ContenidoNyRT")]
|
|
public partial class ContenidoNyRT
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public ContenidoNyRT()
|
|
{
|
|
SubCatContenidoNyRT = new HashSet<SubCatContenidoNyRT>();
|
|
FichaTecnica = new HashSet<FichaTecnica>();
|
|
}
|
|
|
|
[Key]
|
|
public int id_contenido { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string titulo { get; set; }
|
|
|
|
public DateTime? fecha_creacion { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string usuario_creacion { get; set; }
|
|
|
|
public DateTime? fecha_modificacion { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string usuario_modificacion { get; set; }
|
|
|
|
public bool? estado { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<SubCatContenidoNyRT> SubCatContenidoNyRT { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<FichaTecnica> FichaTecnica { get; set; }
|
|
}
|
|
}
|