BaseVehicleTerminal.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. package com.ozs.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import com.ozs.common.annotation.Excel;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. import java.io.Serializable;
  10. import java.util.Date;
  11. /**
  12. * <p>
  13. * 机车车载终端信息表
  14. * </p>
  15. *
  16. * @author ozs
  17. * @since 2023-04-11
  18. */
  19. @Data
  20. @EqualsAndHashCode(callSuper = false)
  21. public class BaseVehicleTerminal implements Serializable {
  22. private static final long serialVersionUID = 1L;
  23. /**
  24. * 主键ID
  25. */
  26. @TableId(value = "id", type = IdType.AUTO)
  27. private Long id;
  28. /**
  29. * 终端编码
  30. */
  31. @Excel(name = "终端编码")
  32. private String terminalCode;
  33. /**
  34. * 终端名称
  35. */
  36. @Excel(name = "终端名称")
  37. private String terminalName;
  38. /**
  39. * 状态 1在线2离线
  40. */
  41. private Integer status;
  42. @Excel(name = "状态")
  43. @TableField(exist = false)
  44. private String statusStr;
  45. /**
  46. * 创建者
  47. */
  48. private String createBy;
  49. /**
  50. * 创建时间
  51. */
  52. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  53. private Date createTime;
  54. /**
  55. * 更新者
  56. */
  57. private String updateBy;
  58. /**
  59. * 更新时间
  60. */
  61. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  62. private Date updateTime;
  63. /**
  64. * 终端经度
  65. */
  66. @Excel(name = "终端经度")
  67. private String terminalLongitude;
  68. /**
  69. * 终端纬度
  70. */
  71. @Excel(name = "终端纬度")
  72. private String terminalLatitude;
  73. /**
  74. * 备注
  75. */
  76. @Excel(name = "备注")
  77. private String remark;
  78. }