package doumeemes.dao.ext.bean;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
|
@Data
|
public class WOutboundRedisCodeBean {
|
|
@ApiModelProperty(value = "单据主键")
|
private Integer wOutboundId;
|
|
@ApiModelProperty(value = "明细行主键信息")
|
private Integer wOutboundDetailId;
|
|
@ApiModelProperty(value = "扫描条码主键")
|
private Integer appliancesId;
|
|
@ApiModelProperty(value = "扫描条码")
|
private String scanCode;
|
|
@ApiModelProperty(value = "物料主键")
|
private Integer materialId;
|
|
@ApiModelProperty(value = "物料编码")
|
private String materialCode;
|
|
@ApiModelProperty(value = "物料名称")
|
private String materialName;
|
|
@ApiModelProperty(value = "规格主键")
|
private Integer unitId;
|
|
@ApiModelProperty(value = "规格名称")
|
private String unitName;
|
|
@ApiModelProperty(value = "仓库编码")
|
private Integer warehouseId;
|
|
@ApiModelProperty(value = "仓库名称")
|
private String warehouseName;
|
|
@ApiModelProperty(value = "库位编码")
|
private Integer locationId;
|
|
@ApiModelProperty(value = "库位名称")
|
private String locationName;
|
|
@ApiModelProperty(value = "批次")
|
private String batch;
|
|
@ApiModelProperty(value = "数量")
|
private BigDecimal num;
|
|
@ApiModelProperty(value = "属性")
|
private String type;
|
|
@ApiModelProperty(value = "工序编码")
|
private Integer procedureId;
|
|
@ApiModelProperty(value = "工序名称")
|
private String procedureName;
|
|
@ApiModelProperty(value = "产品质量属性 0合格 1不良 2报废")
|
private Integer qualityType;
|
|
//选择的库存记录主键 2023年7月19日10:09:27
|
@ApiModelProperty(value = "库存记录主键")
|
private Integer stockId;
|
|
|
public WoScanMaterialBean toWoScanMaterialBean(){
|
WoScanMaterialBean woScanMaterialBean = new WoScanMaterialBean();
|
woScanMaterialBean.setWOutboundDetailId(this.getWOutboundDetailId());
|
woScanMaterialBean.setMaterialId(this.getMaterialId());
|
woScanMaterialBean.setMaterialCode(this.getMaterialCode());
|
woScanMaterialBean.setMaterialName(this.getMaterialName());
|
woScanMaterialBean.setUnitId(this.getUnitId());
|
woScanMaterialBean.setUnitName(this.getUnitName());
|
woScanMaterialBean.setBatch(this.getBatch());
|
woScanMaterialBean.setLocationId(this.getLocationId());
|
woScanMaterialBean.setLocationName(this.getLocationName());
|
woScanMaterialBean.setScanNum(this.getNum());
|
woScanMaterialBean.setProcedureId(this.getProcedureId());
|
woScanMaterialBean.setProcedureName(this.getProcedureName());
|
woScanMaterialBean.setQualityType(this.getQualityType());
|
return woScanMaterialBean;
|
}
|
|
}
|