LngLatCompany.java 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. package com.hssx.cloudmodel.entity;
  2. import com.baomidou.mybatisplus.annotation.TableName;
  3. import com.baomidou.mybatisplus.annotation.IdType;
  4. import com.baomidou.mybatisplus.extension.activerecord.Model;
  5. import com.baomidou.mybatisplus.annotation.TableId;
  6. import java.time.LocalDateTime;
  7. import com.baomidou.mybatisplus.annotation.TableField;
  8. import java.io.Serializable;
  9. /**
  10. * <p>
  11. *
  12. * </p>
  13. *
  14. * @author 吴涛涛
  15. * @since 2019-08-09
  16. */
  17. @TableName("tb_lng_lat_company")
  18. public class LngLatCompany extends Model<LngLatCompany> {
  19. private static final long serialVersionUID=1L;
  20. /**
  21. * 公司经纬度表主键
  22. */
  23. @TableId(value = "id", type = IdType.AUTO)
  24. private Integer id;
  25. /**
  26. * 经度
  27. */
  28. @TableField("y_lng")
  29. private String yLng;
  30. /**
  31. * 纬度
  32. */
  33. @TableField("x_lat")
  34. private String xLat;
  35. /**
  36. * 创建时间
  37. */
  38. @TableField("indate")
  39. private LocalDateTime indate;
  40. /**
  41. * 所属生产方公司id
  42. */
  43. @TableField("company_id")
  44. private Integer companyId;
  45. public Integer getId() {
  46. return id;
  47. }
  48. public void setId(Integer id) {
  49. this.id = id;
  50. }
  51. public String getyLng() {
  52. return yLng;
  53. }
  54. public void setyLng(String yLng) {
  55. this.yLng = yLng;
  56. }
  57. public String getxLat() {
  58. return xLat;
  59. }
  60. public void setxLat(String xLat) {
  61. this.xLat = xLat;
  62. }
  63. public LocalDateTime getIndate() {
  64. return indate;
  65. }
  66. public void setIndate(LocalDateTime indate) {
  67. this.indate = indate;
  68. }
  69. public Integer getCompanyId() {
  70. return companyId;
  71. }
  72. public void setCompanyId(Integer companyId) {
  73. this.companyId = companyId;
  74. }
  75. @Override
  76. protected Serializable pkVal() {
  77. return this.id;
  78. }
  79. @Override
  80. public String toString() {
  81. return "LngLatCompany{" +
  82. "id=" + id +
  83. ", yLng=" + yLng +
  84. ", xLat=" + xLat +
  85. ", indate=" + indate +
  86. ", companyId=" + companyId +
  87. "}";
  88. }
  89. }