You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udi-wms-java/src/main/java/com/glxp/api/res/inout/IoOrderDetailResultResponse...

255 lines
4.5 KiB
Java

package com.glxp.api.res.inout;
import cn.hutool.core.util.StrUtil;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* VO
*/
@Data
public class IoOrderDetailResultResponse {
private Integer id;
/**
*
*/
@ExcelProperty(value = "出入库单号", index = 1)
private String orderIdFk;
/**
* ID
*/
private Long bindRlFk;
/**
* DIUUID
*/
private String uuidFk;
/**
* DI
*/
@ExcelProperty(value = "DI/物资编码", index = 2)
private String nameCode;
/**
*
*/
@ExcelProperty(value = "批次号", index = 5)
private String batchNo;
/**
*
*/
@ExcelProperty(value = "生产日期", index = 10)
private String productDate;
/**
*
*/
@ExcelProperty(value = "失效日期", index = 11)
private String expireDate;
/**
*
*/
@ExcelProperty(value = "物资名称", index = 3)
private String coName;
/**
*
*/
@ExcelProperty(value = "注册/备案号", index = 14)
private String certCode;
/**
*
*/
private String ylqxzcrbarmc;
/**
*
*/
@ExcelProperty(value = "生产企业", index = 13)
private String manufacturer;
/**
*
*/
@ExcelProperty(value = "计量单位", index = 8)
private String measname;
/**
*
*/
@ExcelProperty(value = "规格型号", index = 4)
private String spec;
/**
*
*/
private BigDecimal price;
/**
*
*/
private String secSalesListNo;
/**
*
*/
private String firstSalesInvNo;
/**
*
*/
private String secSalesInvNo;
/**
*
*/
private String invoiceDate;
/**
* ID
*/
private String supId;
/**
*
*/
private String bindSupStatus;
/**
*
*/
private int count;
/**
*
*/
private int reCount;
@ExcelProperty(value = "入库数量", index = 6)
private Integer inCount;
@ExcelProperty(value = "出库数量", index = 7)
private Integer outCount;
/**
*
*/
private String remark;
/**
* 1
*/
private String remark1;
/**
* 2
*/
private String remark2;
/**
* 3
*/
private String remark3;
/**
* 4
*/
private String remark4;
/**
* 5
*/
private String remark5;
/**
*
*/
private String sterBatchNo;
/**
*
*/
private String sterDate;
private int acceptCount;
private String fromCorpName;
@ExcelProperty(value = "单据类型", index = 9)
private String billTypeName;
private String mainAction;
@ExcelProperty(value = "出入库时间", index = 12)
private Date auditTime;
private Date productionDate;
private String fromInvName;
@ExcelProperty(value = "往来单位", index = 0)
private String fromName;
/**
*
*/
private Integer inoutPrintStatus;
private int orderCount;
private String invoiceCodes;
private Integer sucCount;
private boolean regStatus;
//金额
private BigDecimal amount;
private String invoiceEncode;
@ExcelProperty(value = "发票确认时间", index = 12)
private Date confirmTime;
@ExcelProperty(value = "配送商", index = 7)
private String corpName;
private Boolean isStack;
private Boolean groupBuy;
//制剂规格
private String prepnSpec;
//包装规格
private String bzgg;
//包装单位
private String prepnUnit;
//包装单位
private String packMatrial;
//生产企业
private String manufactory;
private String zczbhhzbapzbh;
//发票价格
private BigDecimal invoicePrice;
public String getFromName() {
if (StrUtil.isNotEmpty(fromCorpName))
return fromCorpName;
if (StrUtil.isNotEmpty(fromInvName))
return fromInvName;
return fromName;
}
}