package com.ld.igds.wms.data;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 武汉黄陂军粮-立体库接口,响应数据封装
|
*
|
* @author czt
|
*/
|
@Data
|
public class WmsResponse implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 响应编码
|
*/
|
private String code;
|
|
/**
|
* 响应信息
|
*/
|
private String msg;
|
|
|
/**
|
* 响应时间(yyyy-MM-dd HH:mm:ss)
|
*/
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date resDateTime;
|
|
|
public WmsResponse() {
|
super();
|
}
|
|
public WmsResponse(String code, String msg) {
|
this.code = code;
|
this.msg = msg;
|
this.resDateTime = new Date();
|
}
|
}
|