yuanhung
2024-02-05 876ccb53468872e1156a9f93d4cb72af7fb49c8e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
 
namespace MailQuery.Models
{
 
    /*
      {
    "client": "CCS-2023",
    "msgno": "202201",
"email": "",
"mailorname": "",
"mailortel": "",
"createdate_from": "",
"createdate_to": "2022-01-31",
"powerno": ""
}
 
     */
     public class queryCond
     {
        public string client { get; set; }
        public string msgno { get; set; }
        public string email { get; set; }
        public string mailorname { get; set; }
        public string mailortel { get; set; }
        public string createdate_from { get; set; }
        public string createdate_to { get; set; }
        public string powerno { get; set; }
        
    }
 
    /*
     * {
msgno: "20231231001",
email: "someone@taipower.com.tw",
mailorname: "anonymous",
mailortel: "0987654321",
masterunit: "信件處理中心",
unitname: "信件處理中心",
codedesc: "信件待問卷",
catename: "用電申請"
},
*/
   public class CsmsResult 
   {
        public string msgno { get; set; }
        public string email { get; set; }
        public string mailorname { get; set; }
        public string mailortel { get; set; }
        public string masterunit { get; set; }
        public string unitname { get; set; }
        public string selfdoneddate { get; set; }
        public string allowedddate { get; set; }
 
        public string codedesc { get; set; }
        public string catename { get; set; }
        
        public string powerno { get; set; }
 
        public string ismaster { get; set; }
   }
}