package cn.com.goldenwater.dcproj.model; import cn.com.goldenwater.core.model.BaseBean; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import io.swagger.annotations.ApiModelProperty; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; /** * entity:BisInspTravelPlanPoint * * @author lhc * @date 2019-9-17 */ @JsonIgnoreProperties(value = {"handler", "hibernateLazyInitializer"}) public class BisInspTravelPlanPoint extends BaseBean implements Serializable { // ID @ApiModelProperty(value = "ID", name = "id") private String id; // 路书日行程ID @ApiModelProperty(value = "路书日行程ID", name = "planDayId") private String planDayId; // 经过点名称 @ApiModelProperty(value = "经过点名称", name = "name") private String name; // 行政区代码 @ApiModelProperty(value = "行政区代码", name = "addvcd") private String addvcd; // 行政区划名称 @ApiModelProperty(value = "行政区划名称", name = "addvnm") private String addvnm; // 行政区级别 @ApiModelProperty(value = "行政区级别", name = "lev") private String lev; // 经过点经度 @ApiModelProperty(value = "经过点经度", name = "lgtd") private Double lgtd; // 经过点纬度 @ApiModelProperty(value = "经过点纬度", name = "lttd") private Double lttd; // 图标 @ApiModelProperty(value = "图标", name = "icons") private String icons; // 顺序 @ApiModelProperty(value = "顺序", name = "ordr") private Integer ordr; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date intm; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date uptm; // 数据状态(0:正常;9:删除) @ApiModelProperty(value = "数据状态(0:正常;9:删除)", name = "dataStat") private String dataStat; // 距离(米) @ApiModelProperty(value = "距离(米)", name = "distance") private Long distance; // 耗时(分钟) @ApiModelProperty(value = "耗时(分钟)", name = "consuming") private Long consuming; // 督查类型 @ApiModelProperty(value = "督查类型", name = "ptype") private String ptype; // 登记表ID @ApiModelProperty(value = "登记表ID", name = "regid") private String regid; // 行程ID @ApiModelProperty(value = "行程ID", name = "travelPlanId") private String travelPlanId; // 开始时间 @ApiModelProperty(value = "开始时间", name = "sttm") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date sttm; // 结束时间 @ApiModelProperty(value = "结束时间", name = "entm") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date entm; @ApiModelProperty(value = "備註", name = "note") private String note; public BisInspTravelPlanPoint() { } public String getNote() { return note; } public void setNote(String note) { this.note = note; } public String getTravelPlanId() { return travelPlanId; } public void setTravelPlanId(String travelPlanId) { this.travelPlanId = travelPlanId; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getPlanDayId() { return planDayId; } public void setPlanDayId(String planDayId) { this.planDayId = planDayId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getAddvcd() { return addvcd; } public void setAddvcd(String addvcd) { this.addvcd = addvcd; } public String getAddvnm() { return addvnm; } public void setAddvnm(String addvnm) { this.addvnm = addvnm; } public String getLev() { return lev; } public void setLev(String lev) { this.lev = lev; } public Double getLgtd() { return lgtd; } public void setLgtd(Double lgtd) { this.lgtd = lgtd; } public Double getLttd() { return lttd; } public void setLttd(Double lttd) { this.lttd = lttd; } public String getIcons() { return icons; } public void setIcons(String icons) { this.icons = icons; } public Integer getOrdr() { return ordr; } public void setOrdr(Integer ordr) { this.ordr = ordr; } public Date getIntm() { return intm; } public void setIntm(Date intm) { this.intm = intm; } public Date getUptm() { return uptm; } public void setUptm(Date uptm) { this.uptm = uptm; } public String getDataStat() { return dataStat; } public void setDataStat(String dataStat) { this.dataStat = dataStat; } public Long getDistance() { return distance; } public void setDistance(Long distance) { this.distance = distance; } public Long getConsuming() { return consuming; } public void setConsuming(Long consuming) { this.consuming = consuming; } public String getPtype() { return ptype; } public void setPtype(String ptype) { this.ptype = ptype; } public String getRegid() { return regid; } public void setRegid(String regid) { this.regid = regid; } public Date getSttm() { return sttm; } public void setSttm(Date sttm) { this.sttm = sttm; } public Date getEntm() { return entm; } public void setEntm(Date entm) { this.entm = entm; } @Override public String toString() { return "BisInspTravelPlanPoint [" + "id=" + id + ", planDayId=" + planDayId + ", name=" + name + ", addvcd=" + addvcd + ", addvnm=" + addvnm + ", lev=" + lev + ", lgtd=" + lgtd + ", lttd=" + lttd + ", icons=" + icons + ", ordr=" + ordr + ", intm=" + intm + ", uptm=" + uptm + ", dataStat=" + dataStat + "]"; } }