task--完善swagger文档注释
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
package co.yixiang.tools.express.dao;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
@ -23,23 +24,41 @@ import java.util.List;
|
||||
public class ExpressInfo {
|
||||
|
||||
@JsonProperty("LogisticCode")
|
||||
@ApiModelProperty(value = "物流运单号")
|
||||
private String LogisticCode;
|
||||
|
||||
@JsonProperty("ShipperCode")
|
||||
@ApiModelProperty(value = "快递公司编码")
|
||||
private String ShipperCode;
|
||||
|
||||
|
||||
@JsonProperty("Traces")
|
||||
@ApiModelProperty(value = "物流轨迹")
|
||||
private List<Traces> Traces;
|
||||
|
||||
|
||||
@JsonProperty("State")
|
||||
@ApiModelProperty(value = "物流状态:2-在途中,3-签收,4-问题件")
|
||||
private String State;
|
||||
|
||||
@JsonProperty("EBusinessID")
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
private String EBusinessID;
|
||||
|
||||
|
||||
@JsonProperty("Success")
|
||||
@ApiModelProperty(value = "成功与否")
|
||||
private boolean Success;
|
||||
|
||||
|
||||
@JsonProperty("Reason")
|
||||
@ApiModelProperty(value = "失败原因")
|
||||
private String Reason;
|
||||
|
||||
private String ShipperName;
|
||||
|
||||
@JsonProperty("OrderCode")
|
||||
@ApiModelProperty(value = "订单编号")
|
||||
private String OrderCode;
|
||||
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
package co.yixiang.tools.express.dao;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* Auto-generated: 2018-07-19 22:27:22
|
||||
@ -19,8 +20,11 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
public class Traces {
|
||||
|
||||
@JsonProperty("AcceptStation")
|
||||
@ApiModelProperty(value = "描述")
|
||||
private String AcceptStation;
|
||||
|
||||
@JsonProperty("AcceptTime")
|
||||
@ApiModelProperty(value = "时间")
|
||||
private String AcceptTime;
|
||||
|
||||
public String getAcceptStation() {
|
||||
|
Reference in New Issue
Block a user