RailwayReportEventSftRequest.java
2.38 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/*
* @(#)EscortAttendanceFindRequest.java
*
* Copyright (c) 2014-2017 xiniunet 版权所有
* xiniunet. All rights reserved.
*
* This software is the confidential and proprietary
* information of xiniunet.
* ("Confidential Information"). You shall not disclose
* such Confidential Information and shall use it only
* in accordance with the terms of the contract agreement
* you entered into with xiniunet.
*/
package com.xiniunet.railway.request;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.annotation.JSONField;
import com.xiniunet.framework.base.BaseRequest;
import java.util.List;
/**
* 事件上报的请求.
* @author xiniunet
*/
public class RailwayReportEventSftRequest extends BaseRequest {
@JSONField(name="CONTENT")
private String content;
@JSONField(name="TITLE")
private String title;
@JSONField(name="COMMIT_TIME")
private String commitTime;
@JSONField(name="APP_ATTACHEMENT_ADDRESS")
private String[] appAttachementAddress;
@JSONField(name="APPID")
private String appId;
/**
* 附件列表
*/
private List<String> appAttachementAddressList;
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getCommitTime() {
return commitTime;
}
public void setCommitTime(String commitTime) {
this.commitTime = commitTime;
}
public String[] getAppAttachementAddress() {
return appAttachementAddress;
}
public void setAppAttachementAddress(String[] appAttachementAddress) {
this.appAttachementAddress = appAttachementAddress;
}
public String getAppId() {
return appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public List<String> getAppAttachementAddressList() {
return appAttachementAddressList;
}
public void setAppAttachementAddressList(List<String> appAttachementAddressList) {
this.appAttachementAddressList = appAttachementAddressList;
}
public void setAppAttachementAddressList(String appAttachementAddressList) {
this.appAttachementAddressList = JSON.parseArray(appAttachementAddressList,String.class);
}
}