Created
July 12, 2018 07:21
-
-
Save mikebrind/a481ccd2b459fa1482a5ecd773c19bb8 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; | |
namespace KnockoutTS.Models | |
{ | |
public class WebMail | |
{ | |
public List<Folder> Folders { get; set; } = new List<Folder>(); | |
} | |
public class Mail | |
{ | |
public int Id { get; set; } | |
public string From { get; set; } | |
public string To { get; set; } | |
public DateTime Date { get; set; } | |
public string Subject { get; set; } | |
public string Folder { get; set; } | |
public string MessageContent { get; set; } | |
} | |
public class Folder | |
{ | |
public string Id { get; set; } | |
public List<Mail> Mails { get; set; } = new List<Mail>(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment