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/entity/inout/IoCodeTempEntity.java

205 lines
4.0 KiB
Java

package com.glxp.api.entity.inout;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
@Data
@TableName(value = "io_code_temp")
public class IoCodeTempEntity {
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* UDI
*/
@TableField(value = "code")
private String code;
public void setCode(String code) {
this.code = code;
this.setErrUdiCode(code.replace("\u001D", ""));
}
/**
* GS1
*/
@TableField(value = "errUdiCode")
private String errUdiCode;
/**
*
*/
@TableField(value = "mainAction")
private String mainAction;
/**
*
*/
@TableField(value = "`action`")
private String action;
/**
*
*/
@TableField(value = "orderId")
private String orderId;
/**
*
*/
@TableField(value = "corpOrderId")
private String corpOrderId;
/**
* DI
*/
@TableField(value = "nameCode")
private String nameCode;
/**
*
*/
@TableField(value = "batchNo")
private String batchNo;
/**
*
*/
@TableField(value = "produceDate")
private String produceDate;
/**
*
*/
@TableField(value = "expireDate")
private String expireDate;
/**
*
*/
@TableField(value = "serialNo")
private String serialNo;
/**
*
*/
@TableField(value = "packageLevel")
private String packageLevel;
/**
* ID
*/
@TableField(value = "supId")
private String supId;
/**
* ID
*/
@TableField(value = "relId")
private Long relId;
/**
*
*/
@TableField(value = "`count`")
private Integer count;
/**
*
*/
@TableField(value = "reCount")
private Integer reCount;
/**
*
*/
@TableField(value = "deptCode")
private String deptCode;
/**
*
*/
@TableField(value = "invCode")
private String invCode;
/**
*
*/
@TableField(value = "warehouseCode")
private String warehouseCode;
/**
*
*/
@TableField(value = "preSpaceCode")
private String preSpaceCode;
@TableField(value = "preInSpaceCode")
private String preInSpaceCode;
/**
*
*/
@TableField(value = "updateTime")
private Date updateTime;
/**
*
*/
@TableField(value = "createTime")
private Date createTime;
/**
*
*/
@TableField(value = "inBatchNo")
private String inBatchNo;
@TableField(exist = false)
2 years ago
private int status; //条码校验状态
@TableField(exist = false)
private int checkStatus; //1:多余条码2.同一产品条码超出
@TableField(exist = false)
private String mySupId; //更新供应商
@TableField(value = "price")
private BigDecimal price;
@TableField(exist = false)
private boolean checkSuccess; //临时字段校验是否成功
/**
* 1:;2:
*/
@TableField(value = "productType")
private Integer productType;
11 months ago
/**
* 1:2:
*/
@TableField(value = "fifoSplit")
private Integer fifoSplit;
public int getMyCount() {
if (count == null)
return 0;
return count;
}
public int getMyReCount() {
if (reCount == null) {
return 0;
}
return reCount;
}
2 years ago
}