markus / MarkusLogview / MarkusDataModel / DTOs / UserDTO.cs @ 9eb27750
이력 | 보기 | 이력해설 | 다운로드 (2.99 KB)
1 | 84578b97 | djkim | using System; |
---|---|---|---|
2 | using System.Collections.Generic; |
||
3 | using System.Linq; |
||
4 | using System.Text; |
||
5 | |||
6 | namespace MarkusDataModel.DTOs |
||
7 | { |
||
8 | public class UserDTO |
||
9 | { |
||
10 | public string ID { get; set; } |
||
11 | public string Name { get; set; } |
||
12 | public string Department { get; set; } |
||
13 | public string Position { get; set; } |
||
14 | public string Email { get; set; } |
||
15 | } |
||
16 | |||
17 | public class UserCheckDTO |
||
18 | { |
||
19 | public string ProjectNo { get; set; } |
||
20 | public string UserID { get; set; } |
||
21 | } |
||
22 | |||
23 | public class UserLoginDTO |
||
24 | { |
||
25 | public string RedirectURL { get; set; } |
||
26 | public string AccessToken { get; set; } |
||
27 | public string Role { get; set; } |
||
28 | } |
||
29 | public class UserAuthDTO |
||
30 | { |
||
31 | public string ID { get; set; } |
||
32 | public string COMPANY { get; set; } |
||
33 | public DateTime MyProperty { get; set; } |
||
34 | } |
||
35 | |||
36 | public class CompanyUserListDTO |
||
37 | { |
||
38 | public int ID { get; set; } |
||
39 | public string USER_ID { get; set; } |
||
40 | public string NAME { get; set; } |
||
41 | public string EMAIL_ADDRESS { get; set; } |
||
42 | public string COMPANY { get; set; } |
||
43 | public string DEPARTMENT { get; set; } |
||
44 | public string POSITION { get; set; } |
||
45 | public string CREATE_DATETIME { get; set; } |
||
46 | public string MODIFIED_DATETIME { get; set; } |
||
47 | public int ISACTIVE { get; set; } |
||
48 | } |
||
49 | |||
50 | public class LicenseUSER |
||
51 | { |
||
52 | public string ID { get; set; } |
||
53 | public string DEPARTMENT { get; set; } |
||
54 | public string NAME { get; set; } |
||
55 | public string POSITION { get; set; } |
||
56 | public string EMAIL_ADDRESS { get; set; } |
||
57 | public string COMPANY { get; set; } |
||
58 | public DateTime? CREATE_DATETIME { get; set; } |
||
59 | public DateTime? MODIFIED_DATETIME { get; set; } |
||
60 | public int? ISLICENSE { get; set; } |
||
61 | } |
||
62 | |||
63 | public class UserManagementListDTO |
||
64 | { |
||
65 | public int draw { get; set; } |
||
66 | public int recordsTotal { get; set; } |
||
67 | public int recordsFiltered { get; set; } |
||
68 | public int length { get; set; } |
||
69 | public List<TableData_Management> data { get; set; } |
||
70 | public int statusCode { get; set; } |
||
71 | } |
||
72 | |||
73 | public class TableData_Management |
||
74 | { |
||
75 | public int No { get; set; } |
||
76 | public string ID { get; set; } |
||
77 | public string Name { get; set; } |
||
78 | public string Email { get; set; } |
||
79 | public string Company { get; set; } |
||
80 | public string Project { get; set; } |
||
81 | public string Department { get; set; } |
||
82 | public string Position { get; set; } |
||
83 | public DateTime? CreateDateTime { get; set; } |
||
84 | public DateTime? ModifiedDateTime { get; set; } |
||
85 | public string SignID { get; set; } |
||
86 | public int? IsLicense { get; set; } |
||
87 | public int ActionButton { get; set; } |
||
88 | } |
||
89 | |||
90 | |||
91 | //var count = { |
||
92 | // "total": 0, |
||
93 | // "enable": 0, |
||
94 | // "disable": 0, |
||
95 | //} |
||
96 | public class LicenseCount |
||
97 | { |
||
98 | public int total { get; set; } |
||
99 | public int enable { get; set; } |
||
100 | public int disable { get; set; } |
||
101 | } |
||
102 | |||
103 | } |