FedexReceipt.java
2.15 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
package com.erry.iclear.dateInterface.api.request;
import com.erry.iclear.dateInterface.common.Constant;
import com.erry.iclear.dateInterface.entity.DictionaryEntries;
import com.erry.iclear.dateInterface.repository.DictionaryEntriesRepository;
import org.springframework.beans.factory.annotation.Autowired;
import java.io.Serializable;
import java.util.Date;
/**
* BASF回执数据构造 xjq 2021年11月16日
*/
public class FedexReceipt implements Serializable {
@Autowired
private DictionaryEntriesRepository dictionaryEntriesRepository;
/**
* 运单ID
*/
private Long consignmentId;
/**
* 运单号
*/
private String consignmentCode;
/**
* 运单类型
*/
private String consignmentType;
/**
* 回执状态(状态码)
*/
private String customsReceiptStatus;
/**
* 回执状态时间
*/
private Date customsReceiptTime;
public Long getConsignmentId() {
return consignmentId;
}
public void setConsignmentId(Long consignmentId) {
this.consignmentId = consignmentId;
}
public String getConsignmentCode() {
return consignmentCode;
}
public void setConsignmentCode(String consignmentCode) {
this.consignmentCode = consignmentCode;
}
public String getConsignmentType() {
return consignmentType;
}
public void setConsignmentType(String consignmentType) {
/*DictionaryEntries dictionaryEntriesByCode = dictionaryEntriesRepository.findDictionaryEntriesByCode(Constant.consType_C);
if (consignmentType.equals(dictionaryEntriesByCode.getChineseName())){
this.consignmentType = consignmentType;
}*/
this.consignmentType = "C";
}
public String getCustomsReceiptStatus() {
return customsReceiptStatus;
}
public void setCustomsReceiptStatus(String customsReceiptStatus) {
this.customsReceiptStatus = customsReceiptStatus;
}
public Date getCustomsReceiptTime() {
return customsReceiptTime;
}
public void setCustomsReceiptTime(Date customsReceiptTime) {
this.customsReceiptTime = customsReceiptTime;
}
}