37 lines
1.5 KiB
C#
Executable File
37 lines
1.5 KiB
C#
Executable File
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// Este código se generó a partir de una plantilla.
|
|
//
|
|
// Los cambios manuales en este archivo pueden causar un comportamiento inesperado de la aplicación.
|
|
// Los cambios manuales en este archivo se sobrescribirán si se regenera el código.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace DAL
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public partial class Post
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public Post()
|
|
{
|
|
this.comentarios = new HashSet<Comentario>();
|
|
this.votos = new HashSet<Voto>();
|
|
}
|
|
|
|
public int id { get; set; }
|
|
public string title { get; set; }
|
|
public string markdown { get; set; }
|
|
public int user_id { get; set; }
|
|
public string html { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<Comentario> comentarios { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<Voto> votos { get; set; }
|
|
public virtual User user { get; set; }
|
|
}
|
|
}
|