Skip to content

Instantly share code, notes, and snippets.

@Beelzenef
Last active August 24, 2020 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Beelzenef/fd6db9670e34faf3b37a8becabbe33f3 to your computer and use it in GitHub Desktop.
Save Beelzenef/fd6db9670e34faf3b37a8becabbe33f3 to your computer and use it in GitHub Desktop.
Definición de entidad Author, para medium.com/puntotech
namespace PuntoTechApp
{
public class Author : BaseEntity
{
public string Username { get; set; }
public string Name { get; set; }
// Posts escritos por Author
public int ICollection<Post> Posts { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment