大屏开发
This commit is contained in:
-42
@@ -1,42 +0,0 @@
|
||||
package com.renkang.emergency.entity.vo;
|
||||
|
||||
import com.renkang.emergency.entity.EmergencyHealthRoom;
|
||||
import com.renkang.emergency.entity.Resource;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class LargeScreenMap {
|
||||
private String id;
|
||||
|
||||
private String name;
|
||||
|
||||
private String orgName;
|
||||
|
||||
private String type;
|
||||
|
||||
private String loveNum;
|
||||
|
||||
private String longitude;
|
||||
|
||||
private String latitude;
|
||||
|
||||
public LargeScreenMap() {}
|
||||
|
||||
public LargeScreenMap(Resource resource) {
|
||||
this.id = resource.getId();
|
||||
this.name = resource.getName();
|
||||
this.orgName = "";
|
||||
this.type = resource.getType();
|
||||
this.latitude = String.valueOf(resource.getLatitude());
|
||||
this.longitude = String.valueOf(resource.getLongitude());
|
||||
}
|
||||
|
||||
public LargeScreenMap(EmergencyHealthRoom room) {
|
||||
this.id = room.getId();
|
||||
this.name = room.getName();
|
||||
this.orgName = room.getOrgName();
|
||||
this.type = "2";
|
||||
this.latitude = room.getLatitude();
|
||||
this.longitude = room.getLongitude();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user