|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
import com.qmth.sop.common.base.BaseEntity;
|
|
|
import com.qmth.sop.common.enums.DeviceDeliveryStatusEnum;
|
|
|
+import com.qmth.sop.common.enums.DeviceStatusEnum;
|
|
|
import com.qmth.sop.common.enums.DeviceUsageTypeEnum;
|
|
|
import com.qmth.sop.common.enums.InOutTypeEnum;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
@@ -93,6 +94,12 @@ public class TBDeviceDelivery extends BaseEntity implements Serializable {
|
|
|
@ApiModelProperty(value = "有效的可操作的发货记录(当一个设备处于一个发货出入库生命周期时为有效), 0: 无效,1: 有效")
|
|
|
private Boolean effect;
|
|
|
|
|
|
+ @ApiModelProperty(value = "设备的状态,NORMAL:正常 BREAK_DOWN: 故障")
|
|
|
+ private DeviceStatusEnum deviceStatus;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "设备来源ID,不为空,说明该设备由其他单号中转过来")
|
|
|
+ private Long sourceId;
|
|
|
+
|
|
|
public String getExpressNo() {
|
|
|
return expressNo;
|
|
|
}
|
|
@@ -252,4 +259,20 @@ public class TBDeviceDelivery extends BaseEntity implements Serializable {
|
|
|
public void setEffect(Boolean effect) {
|
|
|
this.effect = effect;
|
|
|
}
|
|
|
+
|
|
|
+ public DeviceStatusEnum getDeviceStatus() {
|
|
|
+ return deviceStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDeviceStatus(DeviceStatusEnum deviceStatus) {
|
|
|
+ this.deviceStatus = deviceStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getSourceId() {
|
|
|
+ return sourceId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSourceId(Long sourceId) {
|
|
|
+ this.sourceId = sourceId;
|
|
|
+ }
|
|
|
}
|