hytos / ID2.Manager / ID2.Manager.Data / Models / ProjectInfo.cs @ 31e27b2f
이력 | 보기 | 이력해설 | 다운로드 (2.09 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.Runtime.Serialization; |
8 |
|
9 |
namespace ID2.Manager.Data.Models |
10 |
{ |
11 |
[DataContract] |
12 |
public class ProjectInfo |
13 |
{ |
14 |
[DataMember] |
15 |
public string ProjectID { get; set; } |
16 |
[DataMember] |
17 |
public string Code { get; set; } |
18 |
[DataMember] |
19 |
public string Name { get; set; } |
20 |
[DataMember] |
21 |
public string Description { get; set; } |
22 |
[DataMember] |
23 |
public string ID2Path { get; set; } |
24 |
[DataMember] |
25 |
public string GroupID { get; set; } |
26 |
[DataMember] |
27 |
public string GroupName { get; set; } |
28 |
[DataMember] |
29 |
public int Level { get; set; } |
30 |
|
31 |
public ProjectInfo DeepCopy(ProjectInfo data) |
32 |
{ |
33 |
return new ProjectInfo() |
34 |
{ |
35 |
ProjectID = data.ProjectID, |
36 |
Code = data.Code, |
37 |
Name = data.Name, |
38 |
Description = data.Description, |
39 |
ID2Path = data.ID2Path, |
40 |
GroupID = data.GroupID, |
41 |
GroupName = data.GroupName, |
42 |
Level = data.Level |
43 |
}; |
44 |
} |
45 |
} |
46 |
|
47 |
[DataContract] |
48 |
public class ID2ProjectInfo |
49 |
{ |
50 |
[DataMember] |
51 |
public bool Checked { get; set; } = false; |
52 |
[DataMember] |
53 |
public int Id { get; set; } |
54 |
[DataMember] |
55 |
public string ProjectID { get; set; } |
56 |
[DataMember] |
57 |
public string ProjectNo { get; set; } |
58 |
[DataMember] |
59 |
public string Name { get; set; } |
60 |
[DataMember] |
61 |
public string Desc { get; set; } |
62 |
[DataMember] |
63 |
public string Unit { get; set; } |
64 |
[DataMember] |
65 |
public string NPSUnit { get; set; } |
66 |
[DataMember] |
67 |
public string Path { get; set; } |
68 |
[DataMember] |
69 |
public string AreaNam { get; set; } |
70 |
[DataMember] |
71 |
public string PlantName { get; set; } |
72 |
[DataMember] |
73 |
public string CreatedDate { get; set; } |
74 |
[DataMember] |
75 |
public string UpdatedDate { get; set; } |
76 |
} |
77 |
} |