aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.Common/BugReporting/Bug.cs
blob: 57e9fc0fef8ec533608a60332c9f48b0849851f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.TFS;

namespace Tango.FSE.Common.BugReporting
{
    /// <summary>
    /// Represents a bug report.
    /// </summary>
    public class Bug
    {
        /// <summary>
        /// Gets or sets the bug identifier.
        /// </summary>
        public String URL { get; set; }

        /// <summary>
        /// Gets or sets the creation date.
        /// </summary>
        public DateTime CreatedDate { get; set; }

        /// <summary>
        /// Gets or sets the bug type.
        /// </summary>
        public BugType Type { get; set; }

        /// <summary>
        /// Gets or sets the title.
        /// </summary>
        public String Title { get; set; }

        /// <summary>
        /// Gets or sets the description.
        /// </summary>
        public String Description { get; set; }

        /// <summary>
        /// Gets or sets optional comments.
        /// </summary>
        public String Comments { get; set; }

        /// <summary>
        /// Gets or sets optional exception.
        /// </summary>
        public Exception Exception { get; set; }

        /// <summary>
        /// Gets or sets optional steps to reproduce.
        /// </summary>
        public String StepsToReproduce { get; set; }

        /// <summary>
        /// Gets or sets the assigned to team member.
        /// </summary>
        public TeamMember AssignedTo { get; set; }

        /// <summary>
        /// Gets or sets the team member who created the bug.
        /// </summary>
        public TeamMember CreatedBy { get; set; }

        /// <summary>
        /// Gets or sets the actual logged in user.
        /// </summary>
        public String LoggedInUser { get; set; }

        /// <summary>
        /// Gets or sets the area.
        /// </summary>
        public Area Area { get; set; }

        /// <summary>
        /// Gets or sets the bug attachments.
        /// </summary>
        public List<BugAttachement> Attachments { get; set; }

        public Bug()
        {
            Attachments = new List<BugAttachement>();
        }
    }
}