|
@@ -0,0 +1,110 @@
|
|
|
+package com.hssx.cloudmodel.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ *
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author 吴涛涛
|
|
|
+ * @since 2019-08-09
|
|
|
+ */
|
|
|
+@TableName("tb_lng_lat_company")
|
|
|
+public class LngLatCompany extends Model<LngLatCompany> {
|
|
|
+
|
|
|
+ private static final long serialVersionUID=1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 公司经纬度表主键
|
|
|
+ */
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
+ private Integer id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 经度
|
|
|
+ */
|
|
|
+ @TableField("y_lng")
|
|
|
+ private String yLng;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 纬度
|
|
|
+ */
|
|
|
+ @TableField("x_lat")
|
|
|
+ private String xLat;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ */
|
|
|
+ @TableField("indate")
|
|
|
+ private LocalDateTime indate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 所属生产方公司id
|
|
|
+ */
|
|
|
+ @TableField("company_id")
|
|
|
+ private Integer companyId;
|
|
|
+
|
|
|
+
|
|
|
+ public Integer getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Integer id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getyLng() {
|
|
|
+ return yLng;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setyLng(String yLng) {
|
|
|
+ this.yLng = yLng;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getxLat() {
|
|
|
+ return xLat;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setxLat(String xLat) {
|
|
|
+ this.xLat = xLat;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getIndate() {
|
|
|
+ return indate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIndate(LocalDateTime indate) {
|
|
|
+ this.indate = indate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getCompanyId() {
|
|
|
+ return companyId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCompanyId(Integer companyId) {
|
|
|
+ this.companyId = companyId;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected Serializable pkVal() {
|
|
|
+ return this.id;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "LngLatCompany{" +
|
|
|
+ "id=" + id +
|
|
|
+ ", yLng=" + yLng +
|
|
|
+ ", xLat=" + xLat +
|
|
|
+ ", indate=" + indate +
|
|
|
+ ", companyId=" + companyId +
|
|
|
+ "}";
|
|
|
+ }
|
|
|
+}
|