hytos / ID2.Manager / ID2.Manager.Data / Models / UserInfo.cs @ e8a86b9b
이력 | 보기 | 이력해설 | 다운로드 (1.08 KB)
1 | 35d01ef5 | yoush97 | 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 UserInfo |
||
13 | { |
||
14 | [DataMember] |
||
15 | public string UID { get; set; } |
||
16 | [DataMember] |
||
17 | public string ID { get; set; } |
||
18 | [DataMember] |
||
19 | public string Name { get; set; } |
||
20 | [DataMember] |
||
21 | public string Password { get; set; } |
||
22 | [DataMember] |
||
23 | public string Role { get; set; } |
||
24 | [DataMember] |
||
25 | 87bcedb4 | yoush97 | public string RefProjectID { get; set; } |
26 | 35d01ef5 | yoush97 | [DataMember] |
27 | 87bcedb4 | yoush97 | public DateTime Registered { get; set; } |
28 | 2bde63d4 | yoush97 | |
29 | public UserInfo DeepCopy(UserInfo data) |
||
30 | { |
||
31 | return new UserInfo() |
||
32 | { |
||
33 | UID = data.UID, |
||
34 | ID = data.ID, |
||
35 | Name = data.Name, |
||
36 | Password = data.Password, |
||
37 | Role = data.Role, |
||
38 | RefProjectID = data.RefProjectID, |
||
39 | Registered = data.Registered |
||
40 | }; |
||
41 | } |
||
42 | 35d01ef5 | yoush97 | } |
43 | } |