31 lines
512 B
Java
31 lines
512 B
Java
package com.wms.model.entity.common;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
|
|
@Data
|
|
@AllArgsConstructor
|
|
public class WmsApiResponse<T> {
|
|
|
|
/**
|
|
* 返回代码
|
|
*/
|
|
@JsonProperty(value = "code")
|
|
private Integer code;
|
|
|
|
/**
|
|
* 返回消息
|
|
*/
|
|
@JsonProperty(value = "message")
|
|
private String message;
|
|
|
|
/**
|
|
* 返回信息
|
|
*/
|
|
@JsonProperty(value = "returnData")
|
|
private T returnData;
|
|
|
|
|
|
}
|