Skip to content

Instantly share code, notes, and snippets.

@sumitkharche
Created September 19, 2020 09:55
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 sumitkharche/0bc83a90589f4acabd36d00d83d9cfe3 to your computer and use it in GitHub Desktop.
Save sumitkharche/0bc83a90589f4acabd36d00d83d9cfe3 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorCosmicBlog.Models
{
public class Post
{
public string _id { get; set; }
public string Slug { get; set; }
public string Title { get; set; }
public string Content { get; set; }
public DateTime Published_at { get; set; }
public PostMetadata Metadata { get; set; }
}
public class PostMetadata
{
public Hero hero { get; set; }
}
public class Hero
{
public string url { get; set; }
public string imgix_url { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment