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.
32 lines
605 B
Java
32 lines
605 B
Java
2 years ago
|
package com.glxp.api.vo.dev;
|
||
|
|
||
|
import com.glxp.api.entity.dev.DeviceChangeOrderEntity;
|
||
|
import lombok.Data;
|
||
|
|
||
|
@Data
|
||
|
public class DeviceChangeOrderVo extends DeviceChangeOrderEntity {
|
||
|
|
||
|
String deptName;
|
||
|
|
||
|
String toDeptName;
|
||
|
|
||
|
String typeName;
|
||
|
|
||
|
String statusName;
|
||
|
|
||
|
|
||
|
public String getTypeName() {
|
||
|
if (super.getType() != null) {
|
||
|
return super.getType().getDesc();
|
||
|
}
|
||
|
return typeName;
|
||
|
}
|
||
|
|
||
|
public String getStatusName() {
|
||
|
if (super.getStatus() != null) {
|
||
|
return super.getStatus().getDesc();
|
||
|
}
|
||
|
return statusName;
|
||
|
}
|
||
|
}
|