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...

251 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;
/**
* DI信息UUID外键
*/
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;
public String getFromName() {
if (StrUtil.isNotEmpty(fromCorpName))
return fromCorpName;
if (StrUtil.isNotEmpty(fromInvName))
return fromInvName;
return fromName;
}
}