Created
September 19, 2020 09:55
-
-
Save sumitkharche/0bc83a90589f4acabd36d00d83d9cfe3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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