|
@@ -6,6 +6,7 @@ import lombok.Data;
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
+import java.sql.Timestamp;
|
|
|
|
|
|
/**
|
|
|
* @author guochao
|
|
@@ -17,9 +18,33 @@ import java.io.Serializable;
|
|
|
public class ResourceVO implements Serializable {
|
|
|
private String code;
|
|
|
private String name;
|
|
|
+ private String type;
|
|
|
+ private int quantity;
|
|
|
+ private String photoUrl;
|
|
|
+ private String description;
|
|
|
+ private String scene;
|
|
|
+ private String unitWork;
|
|
|
+ private String standard;
|
|
|
+ private String unit;
|
|
|
+ private String state;
|
|
|
+ private Timestamp startTime;
|
|
|
+ private String personnel;
|
|
|
+ private String remarks;
|
|
|
|
|
|
public ResourceVO(Resource resource){
|
|
|
code = resource.getCode();
|
|
|
name = resource.getName();
|
|
|
+ type= resource.getType();
|
|
|
+ quantity=resource.getQuantity();
|
|
|
+ photoUrl=resource.getPhotoUrl();
|
|
|
+ description=resource.getDescription();
|
|
|
+ scene=resource.getScene();
|
|
|
+ unitWork=resource.getUnitWork();
|
|
|
+ standard=resource.getStandard();
|
|
|
+ unit=resource.getUnit();
|
|
|
+ state=resource.getState();
|
|
|
+ startTime=resource.getStartTime();
|
|
|
+ personnel=resource.getPersonnel();
|
|
|
+ remarks=resource.getRemarks();
|
|
|
}
|
|
|
}
|