From a4f11cd94cb83dc59f4b9fe1871ec1f9a1b19b46 Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Mon, 26 Feb 2018 09:29:58 +0800 Subject: [PATCH] test --- src/main/java/com/moral/monitor/entity/MonitorPoint.java | 110 ++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 81 insertions(+), 29 deletions(-) diff --git a/src/main/java/com/moral/monitor/entity/MonitorPoint.java b/src/main/java/com/moral/monitor/entity/MonitorPoint.java index 7d2f154..4a9370d 100644 --- a/src/main/java/com/moral/monitor/entity/MonitorPoint.java +++ b/src/main/java/com/moral/monitor/entity/MonitorPoint.java @@ -2,25 +2,37 @@ import java.util.Date; -/** - * Created by a on 2017/7/18. - */ public class MonitorPoint { + private String id; - private int id; private String name; - private String address; - private String repairman; - private Date create_time; - private String owner; - private int equcount; - public int getId() { + private Double longitude; + + private Double latitude; + + private String provincecode; + + private String citycode; + + private String areacode; + + private String address; + + private String repairman; + + private String regionDescription; + + private Date createTime; + + private String owner; + + public String getId() { return id; } - public void setId(int id) { - this.id = id; + public void setId(String id) { + this.id = id == null ? null : id.trim(); } public String getName() { @@ -28,7 +40,47 @@ } public void setName(String name) { - this.name = name; + this.name = name == null ? null : name.trim(); + } + + public Double getLongitude() { + return longitude; + } + + public void setLongitude(Double longitude) { + this.longitude = longitude; + } + + public Double getLatitude() { + return latitude; + } + + public void setLatitude(Double latitude) { + this.latitude = latitude; + } + + public String getProvincecode() { + return provincecode; + } + + public void setProvincecode(String provincecode) { + this.provincecode = provincecode == null ? null : provincecode.trim(); + } + + public String getCitycode() { + return citycode; + } + + public void setCitycode(String citycode) { + this.citycode = citycode == null ? null : citycode.trim(); + } + + public String getAreacode() { + return areacode; + } + + public void setAreacode(String areacode) { + this.areacode = areacode == null ? null : areacode.trim(); } public String getAddress() { @@ -36,7 +88,7 @@ } public void setAddress(String address) { - this.address = address; + this.address = address == null ? null : address.trim(); } public String getRepairman() { @@ -44,15 +96,23 @@ } public void setRepairman(String repairman) { - this.repairman = repairman; + this.repairman = repairman == null ? null : repairman.trim(); } - public Date getCreate_time() { - return create_time; + public String getRegionDescription() { + return regionDescription; } - public void setCreate_time(Date create_time) { - this.create_time = create_time; + public void setRegionDescription(String regionDescription) { + this.regionDescription = regionDescription == null ? null : regionDescription.trim(); + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; } public String getOwner() { @@ -60,14 +120,6 @@ } public void setOwner(String owner) { - this.owner = owner; + this.owner = owner == null ? null : owner.trim(); } - - public int getEqucount() { - return equcount; - } - - public void setEqucount(int equcount) { - this.equcount = equcount; - } -} +} \ No newline at end of file -- Gitblit v1.8.0