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/vo/dev/DeviceInfoVo.java

22 lines
396 B
Java

2 years ago
package com.glxp.api.vo.dev;
import com.glxp.api.entity.dev.DeviceInfoEntity;
import lombok.Data;
@Data
public class DeviceInfoVo extends DeviceInfoEntity {
Integer count;
String deptName;
String statusName;
public String getStatusName() {
if (super.getStatus() != null) {
return super.getStatus().getDesc();
}
return statusName;
}
}