Initial commit
This commit is contained in:
36
DAL/Post.cs
Executable file
36
DAL/Post.cs
Executable file
@@ -0,0 +1,36 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user