2025-12-11 10:20:10 +09:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
|
|
namespace TriliumMind.Data.Entities;
|
|
|
|
|
|
|
|
|
|
|
|
public class JiraIssue
|
|
|
|
|
|
{
|
|
|
|
|
|
[Key]
|
|
|
|
|
|
public string Key { get; set; } = null!;
|
|
|
|
|
|
public string Summary { get; set; } = null!;
|
|
|
|
|
|
public string? Parent { get; set; }
|
|
|
|
|
|
public string Type { get; set; } = null!;
|
|
|
|
|
|
public string Status { get; set; } = null!;
|
|
|
|
|
|
public string Assignee { get; set; } = null!;
|
|
|
|
|
|
public string Manager { get; set; } = null!;
|
|
|
|
|
|
public DateTimeOffset Due { get; set; }
|
|
|
|
|
|
public DateTimeOffset Updated { get; set; }
|
|
|
|
|
|
public DateTimeOffset Published { get; set; }
|
|
|
|
|
|
public string? ObjectId { get; set; }
|
|
|
|
|
|
public int NeedNotify { get; set; }
|
2025-12-12 17:21:26 +09:00
|
|
|
|
|
|
|
|
|
|
public JiraIssue() { }
|
|
|
|
|
|
protected JiraIssue(JiraIssue issue)
|
|
|
|
|
|
{
|
|
|
|
|
|
this.Key = issue.Key;
|
|
|
|
|
|
this.Summary = issue.Summary;
|
|
|
|
|
|
this.Parent = issue.Parent;
|
|
|
|
|
|
this.Type = issue.Type;
|
|
|
|
|
|
this.Status = issue.Status;
|
|
|
|
|
|
this.Assignee = issue.Assignee;
|
|
|
|
|
|
this.Manager = issue.Manager;
|
|
|
|
|
|
this.Published = issue.Published;
|
|
|
|
|
|
this.ObjectId = issue.ObjectId;
|
|
|
|
|
|
this.NeedNotify = issue.NeedNotify;
|
|
|
|
|
|
}
|
2025-12-11 10:20:10 +09:00
|
|
|
|
}
|