sap接口实体新增
parent
6546ae1562
commit
1eda68e151
@ -0,0 +1,81 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : ASN
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2019-06-17 10:50
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api(value = "ASN计划", description = "ASN计划")
|
||||
public class SapAsn extends SapBase {
|
||||
|
||||
@ApiParam(value = "ASN号")
|
||||
@AnnoOutputColumn
|
||||
private String zasnno;
|
||||
|
||||
@ApiParam(value = "供应商代码")
|
||||
@AnnoOutputColumn
|
||||
private String lifnr;
|
||||
|
||||
@ApiParam(value = "ASN item")
|
||||
@AnnoOutputColumn
|
||||
private Double zrnum;
|
||||
|
||||
@ApiParam(value = "物料编码")
|
||||
@AnnoOutputColumn
|
||||
private String matnr;
|
||||
|
||||
@ApiParam(value = "数量")
|
||||
@AnnoOutputColumn
|
||||
private Double zcnNum;
|
||||
|
||||
@ApiParam(value = "计量单位")
|
||||
@AnnoOutputColumn
|
||||
private String unit;
|
||||
|
||||
@ApiParam(value = "特殊采购标识")
|
||||
@AnnoOutputColumn
|
||||
private String pstyp;
|
||||
|
||||
@ApiParam(value = "计划交货日期")
|
||||
@AnnoOutputColumn
|
||||
private String zdate;
|
||||
|
||||
@ApiParam(value = "计划交货时间")
|
||||
@AnnoOutputColumn
|
||||
private String zcjsj;
|
||||
|
||||
@ApiParam(value = "工厂代码")
|
||||
@AnnoOutputColumn
|
||||
private String werks;
|
||||
|
||||
@ApiParam(value = "收货库存地点")
|
||||
@AnnoOutputColumn
|
||||
private String lgort;
|
||||
|
||||
@ApiParam(value = "凭证标识")
|
||||
@AnnoOutputColumn
|
||||
private String zdoc;
|
||||
|
||||
@ApiParam(value = "状态", example = "U")
|
||||
@AnnoOutputColumn
|
||||
private String zstasI;
|
||||
|
||||
@ApiParam(value = "条码信息")
|
||||
@AnnoOutputColumn
|
||||
private String ztxm;
|
||||
|
||||
@ApiParam(value = "道口")
|
||||
@AnnoOutputColumn
|
||||
private String zdk;
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @Description : sap接口基础公共字段
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2019-06-17 16:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class SapBase {
|
||||
|
||||
@ApiParam(value = "处理人", example = "-1")
|
||||
private String actusr = "导入";
|
||||
|
||||
@ApiParam(value = "SID", example = "-1")
|
||||
private String sid = UUID.randomUUID().toString() + UUID.randomUUID().toString();
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
@ApiParam(value = "接收数据日期", example = "-1")
|
||||
private String recymd;
|
||||
|
||||
@JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value = "接收数据时间", example = "-1")
|
||||
private String rechms;
|
||||
|
||||
@ApiParam(value = "同步标志", example = "-1")
|
||||
private String synflg = "Y";
|
||||
|
||||
@ApiParam(value = "同步日期", example = "-1")
|
||||
private String synymd;
|
||||
|
||||
@ApiParam(value = "同步时间", example = "-1")
|
||||
private String synhms;
|
||||
|
||||
@ApiParam(value = "处理标志", example = "-1")
|
||||
private String actflg = "Y";
|
||||
|
||||
@ApiParam(value = "处理日期", example = "-1")
|
||||
private String actymd;
|
||||
|
||||
@ApiParam(value = "处理时间", example = "-1")
|
||||
private String acthms;
|
||||
|
||||
@ApiParam(value = "状态标志", example = "-1")
|
||||
private String staflg;
|
||||
|
||||
@ApiParam(value = "顺序号", example = "-1")
|
||||
private Integer seq;
|
||||
|
||||
@ApiParam(value = "GUID", example = "-1")
|
||||
private String guid;
|
||||
|
||||
public String getSynymdTime() {
|
||||
SimpleDateFormat format = new SimpleDateFormat("YYYY-MM-DD");
|
||||
return format.format(new Date());
|
||||
}
|
||||
|
||||
public String getSynhmsTime() {
|
||||
SimpleDateFormat format = new SimpleDateFormat("HH:mm:ss");
|
||||
return format.format(new Date());
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue