-
Notifications
You must be signed in to change notification settings - Fork 0
/
JobBoard.cs
51 lines (44 loc) · 1.33 KB
/
JobBoard.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>
/// Job Board Implimentation of BaseInfo
/// </summary>
public class JobBoard : BaseInfo
{
/// <summary>
/// Static ID For Tracking All Job Boards
/// </summary>
public static int Board_ID = 0;
/// <summary>
/// Name Of Job Board
/// </summary>
[JsonProperty("Name")]
public override string Name { get; set; }
/// <summary>
/// Website Of Job Board
/// </summary>
[JsonProperty("Website")]
public override string Extra { get; set; }
/// <summary>
/// Default Constructor
/// </summary>
public JobBoard() : this(" ") { }
/// <summary>
/// String Param Constructor
/// </summary>
/// <param name="name">Name Of The Job Board</param>
public JobBoard(string name) : this(name, " ") { }
/// <summary>
/// String, String Param Constructor
/// </summary>
/// <param name="name">Name Of The Job Board</param>
/// <param name="website">Website Of The Job Board</param>
public JobBoard(string name, string website)
{
Name = name;
Extra = website;
ID = Board_ID++;
}
}
}