aboutsummaryrefslogtreecommitdiffstats
path: root/code/api/src/Models/Database/Todo/Todo.cs
blob: da96caeb6f6e470996a813770870887c37f781cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace IOL.GreatOffice.Api.Models.Database;

public class Todo : BaseWithOwner
{
    public string PublicId { get; set; }
    public Guid? AssignedToId { get; set; }
    public Guid? ClosedById { get; set; }
    public Guid CollectionId { get; set; }
    public DateTime? ClosedAt { get; set; }
    public string Title { get; set; }
    public string Description { get; set; }
    public ICollection<TodoLabel> Labels { get; set; }
    public ICollection<TodoComment> Comments { get; set; }
    public User AssignedTo { get; set; }
    public User ClosedBy { get; set; }
    public TodoCollection Collection { get; set; }
}