프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

hytos / ID2.Manager / ID2.Manager.Common / Informations.cs @ cab8a4a1

이력 | 보기 | 이력해설 | 다운로드 (1.69 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 UserInfo ActiveProject { get; set; }
30

    
31
        public List<UserInfo> UserList { get; set; } = new List<UserInfo>();
32

    
33
        private readonly List<string> _JobLevel = new List<string>() { "1", "2", "3", "4", "5" };
34
        public List<string> JobLevel
35
        {
36
            get { return _JobLevel; }
37
        }
38

    
39
        private readonly List<string> _IsYesNo = new List<string>() { "Yes", "No" };
40
        public List<string> IsYesNo
41
        {
42
            get { return _IsYesNo; }
43
        }
44

    
45
        private readonly List<string> _ClientStatus = new List<string>() { "검토중", "회신완료" };
46
        public List<string> ClientStatus
47
        {
48
            get { return _ClientStatus; }
49
        }
50

    
51
        private readonly List<string> _ValidationResult = new List<string>() { "O", "X" };
52
        public List<string> ValidationResult
53
        {
54
            get { return _ValidationResult; }
55
        }
56

    
57
        private readonly List<string> _JobStatus = new List<string>() { "시작전", "진행중", "완료", "기타" };
58
        public List<string> JobStatus
59
        {
60
            get { return _JobStatus; }
61
        }
62
    }
63
}
클립보드 이미지 추가 (최대 크기: 500 MB)