hytos / ID2.Manager / ID2.Manager.Data / Models / UserInfo.cs @ 2bde63d4
이력 | 보기 | 이력해설 | 다운로드 (1.19 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 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 |
public string RefProjectID { get; set; } |
26 |
[DataMember] |
27 |
public string Company_UID { get; set; } |
28 |
[DataMember] |
29 |
public DateTime Registered { get; set; } |
30 |
|
31 |
public UserInfo DeepCopy(UserInfo data) |
32 |
{ |
33 |
return new UserInfo() |
34 |
{ |
35 |
UID = data.UID, |
36 |
ID = data.ID, |
37 |
Name = data.Name, |
38 |
Password = data.Password, |
39 |
Role = data.Role, |
40 |
RefProjectID = data.RefProjectID, |
41 |
Company_UID = data.Company_UID, |
42 |
Registered = data.Registered |
43 |
}; |
44 |
} |
45 |
} |
46 |
} |