-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rep.cs
51 lines (44 loc) · 1.26 KB
/
Rep.cs
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
using Newtonsoft.Json;
namespace Job_Application_Database.Classes
{
/// <summary>
/// Rep Implimentation of BaseInfo
/// </summary>
public class Rep : BaseInfo
{
/// <summary>
/// Static ID For Tracking All Reps
/// </summary>
public static int Rep_ID = 0;
/// <summary>
/// Name Of Rep
/// </summary>
[JsonProperty("Name")]
public override string Name { get; set; }
/// <summary>
/// Email Of Rep
/// </summary>
[JsonProperty("Email")]
public override string Extra { get; set; }
/// <summary>
/// Default Constructor
/// </summary>
public Rep() : this(" ") { }
/// <summary>
/// String Constructor
/// </summary>
/// <param name="name">The Name Of The Rep</param>
public Rep(string name) : this(name, " ") { }
/// <summary>
/// String, String Constructor
/// </summary>
/// <param name="name">The Name Of The Rep</param>
/// /// <param name="email">The Email Of The Rep</param>
public Rep(string name, string email)
{
Name = name;
Extra = email;
ID = Rep_ID++;
}
}
}