Ombi/src/Ombi.Store/Entities/Requests/IssueComments.cs
Jamie 246f1c07cf
Add the Issue Reporting functionality (#1811)
* Added issuesreporting and the ability to add categories to the UI
* Added lazy loading!
2017-12-28 21:51:33 +00:00

18 lines
No EOL
507 B
C#

using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ombi.Store.Entities.Requests
{
public class IssueComments : Entity
{
public string UserId { get; set; }
public string Comment { get; set; }
public int? IssuesId { get; set; }
public DateTime Date { get; set; }
[ForeignKey(nameof(IssuesId))]
public Issues Issues{ get; set; }
[ForeignKey(nameof(UserId))]
public OmbiUser User { get; set; }
}
}