Skip to content

Instantly share code, notes, and snippets.

@babaktaremi
Created August 22, 2021 11:26
Show Gist options
  • Save babaktaremi/75e117772d096d7bf918172ca24cac82 to your computer and use it in GitHub Desktop.
Save babaktaremi/75e117772d096d7bf918172ca24cac82 to your computer and use it in GitHub Desktop.
namespace ChatApplication.Server.Models
{
public class ChatHistory
{
public ChatHistory()
{
Date=DateTime.Now;
}
public int Id { get; set; }
public DateTime Date { get; set; }
public string MessageContent { get; set; }
public User User { get; set; }
public int UserId { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment