hytos / ID2.Manager / ID2.Manager.Common / Informations.cs @ cfa37642
이력 | 보기 | 이력해설 | 다운로드 (1.97 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Threading.Tasks; |
6 | |
7 |
using System.ComponentModel; |
8 | |
9 |
using ID2.Manager.Data; |
10 |
using ID2.Manager.Data.Models; |
11 | |
12 |
namespace ID2.Manager.Common |
13 |
{ |
14 |
public class Informations |
15 |
{ |
16 |
private static readonly Lazy<Informations> lazy = new Lazy<Informations>(() => new Informations()); |
17 | |
18 |
public static Informations Instance |
19 |
{ |
20 |
get { return lazy.Value; } |
21 |
} |
22 | |
23 |
private Informations() |
24 |
{ |
25 | |
26 |
} |
27 | |
28 |
public UserInfo ActiveUser { get; set; } |
29 |
public ProjectInfo ActiveProject { get; set; } |
30 | |
31 |
public List<UserInfo> UserList { get; set; } = new List<UserInfo>(); |
32 |
public List<ProjectInfo> ProjectList { get; set; } = new List<ProjectInfo>(); |
33 | |
34 |
private readonly List<string> _JobLevel = new List<string>() { "1", "2", "3", "4", "5" }; |
35 |
public List<string> JobLevel |
36 |
{ |
37 |
get { return _JobLevel; } |
38 |
} |
39 | |
40 |
private readonly List<string> _IsYesNo = new List<string>() { "Yes", "No" }; |
41 |
public List<string> IsYesNo |
42 |
{ |
43 |
get { return _IsYesNo; } |
44 |
} |
45 | |
46 |
private readonly List<string> _ClientStatus = new List<string>() { "검토중", "회신완료" }; |
47 |
public List<string> ClientStatus |
48 |
{ |
49 |
get { return _ClientStatus; } |
50 |
} |
51 | |
52 |
private readonly List<string> _ValidationResult = new List<string>() { "O", "X" }; |
53 |
public List<string> ValidationResult |
54 |
{ |
55 |
get { return _ValidationResult; } |
56 |
} |
57 | |
58 |
private readonly List<string> _JobStatus = new List<string>() { "시작전", "진행중", "완료", "기타" }; |
59 |
public List<string> JobStatus |
60 |
{ |
61 |
get { return _JobStatus; } |
62 |
} |
63 | |
64 |
private readonly List<string> _UserRole = new List<string>() { "Admin", "Manager", "User" }; |
65 |
public List<string> UserRole |
66 |
{ |
67 |
get { return _UserRole; } |
68 |
} |
69 |
} |
70 |
} |