|
@@ -19,6 +19,7 @@ package org.springblade.modules.business.vo;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
+import org.springblade.common.enums.FacilityStatusEnum;
|
|
import org.springblade.modules.business.entity.Facility;
|
|
import org.springblade.modules.business.entity.Facility;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -48,4 +49,9 @@ public class FacilityVO extends Facility {
|
|
*/
|
|
*/
|
|
private String qrCode;
|
|
private String qrCode;
|
|
|
|
|
|
|
|
+ private String facilityStatusDesc;
|
|
|
|
+
|
|
|
|
+ public String getFacilityStatusDesc() {
|
|
|
|
+ return FacilityStatusEnum.getNameByValue(getFacilityStatus());
|
|
|
|
+ }
|
|
}
|
|
}
|