개정판 473ee829
issue #0000
Project 정보 수정
ID2 Project DB의 정보를 ID2 Manager와 매핑
Change-Id: Idcc82a34b8027032529cbc43a62757ea6d48f586
ID2.Manager/ID2.Manager.Data/Models/ProjectInfo.cs | ||
---|---|---|
27 | 27 |
public string GroupName { get; set; } |
28 | 28 |
[DataMember] |
29 | 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 |
} |
|
30 |
[DataMember] |
|
31 |
public ID2ProjectInfo ID2Info = null; |
|
45 | 32 |
} |
46 | 33 |
|
47 | 34 |
[DataContract] |
48 | 35 |
public class ID2ProjectInfo |
49 | 36 |
{ |
50 |
[DataMember] |
|
51 | 37 |
public bool Checked { get; set; } = false; |
52 | 38 |
[DataMember] |
53 | 39 |
public int Id { get; set; } |
... | ... | |
66 | 52 |
[DataMember] |
67 | 53 |
public string Path { get; set; } |
68 | 54 |
[DataMember] |
69 |
public string AreaNam { get; set; } |
|
55 |
public string AreaName { get; set; }
|
|
70 | 56 |
[DataMember] |
71 | 57 |
public string PlantName { get; set; } |
72 | 58 |
[DataMember] |
73 | 59 |
public string CreatedDate { get; set; } |
74 | 60 |
[DataMember] |
75 | 61 |
public string UpdatedDate { get; set; } |
62 |
[DataMember] |
|
63 |
public string DBTypeID { get; set; } |
|
64 |
[DataMember] |
|
65 |
public string DBTypeName { get; set; } |
|
66 |
[DataMember] |
|
67 |
public string Host { get; set; } |
|
68 |
[DataMember] |
|
69 |
public string User { get; set; } |
|
70 |
[DataMember] |
|
71 |
public string Password { get; set; } |
|
72 |
[DataMember] |
|
73 |
public string DBPath { get; set; } |
|
76 | 74 |
} |
77 | 75 |
} |
내보내기 Unified diff