mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Add the Issue Reporting functionality (#1811)
* Added issuesreporting and the ability to add categories to the UI * Added lazy loading!
This commit is contained in:
parent
438f56eceb
commit
246f1c07cf
109 changed files with 2905 additions and 526 deletions
33
src/Ombi.Store/Entities/Requests/Issues.cs
Normal file
33
src/Ombi.Store/Entities/Requests/Issues.cs
Normal file
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Ombi.Store.Entities.Requests
|
||||
{
|
||||
[Table("Issues")]
|
||||
public class Issues : Entity
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public RequestType RequestType { get; set; }
|
||||
public string ProviderId { get; set; }
|
||||
public int? RequestId { get; set; }
|
||||
public string Subject { get; set; }
|
||||
public string Description { get; set; }
|
||||
public int IssueCategoryId { get; set; }
|
||||
[ForeignKey(nameof(IssueCategoryId))]
|
||||
public IssueCategory IssueCategory { get; set; }
|
||||
public IssueStatus Status { get; set; }
|
||||
public DateTime? ResovledDate { get; set; }
|
||||
[ForeignKey(nameof(UserReported))]
|
||||
public string UserReportedId { get; set; }
|
||||
public OmbiUser UserReported { get; set; }
|
||||
public List<IssueComments> Comments { get; set; }
|
||||
}
|
||||
|
||||
public enum IssueStatus
|
||||
{
|
||||
Pending = 0,
|
||||
InProgress = 1,
|
||||
Resolved = 2,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue