aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.Common/BugReporting/Bug.cs
blob: 667c1fd905e42f51a1c59f36813f89bb7a6fc244 (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
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 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 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>();
        }
    }
}