TBCarShoot.java 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. package cn.com.lzt.car.jobImageManagement.entity;
  2. import lombok.Data;
  3. import lombok.EqualsAndHashCode;
  4. import lombok.experimental.Accessors;
  5. import cn.afterturn.easypoi.excel.annotation.Excel;
  6. import javax.persistence.*;
  7. import java.util.Date;
  8. /**
  9. * @Title: Entity
  10. * @Description: 车辆档案
  11. * @author onlineGenerator
  12. * @date 2019-10-12 14:09:46
  13. * @version V1.0
  14. *
  15. */
  16. @Data
  17. @Entity
  18. @EqualsAndHashCode(callSuper = false)
  19. @Accessors(chain = true)
  20. @Table(name = "t_b_car_shoot")
  21. @SuppressWarnings("serial")
  22. public class TBCarShoot implements java.io.Serializable{
  23. private static final long serialVersionUID = 1L;
  24. @Id
  25. @Column(name = "id")
  26. private String id;
  27. //设备号
  28. @Column(name = "vehicle_no")
  29. @Excel(name = "设备号")
  30. private String vehicleNo;
  31. //车牌号
  32. @Column(name = "plate_no")
  33. @Excel(name = "车牌号")
  34. private String plateNo;
  35. //车辆类型 (详见数据字典)
  36. @Column(name = "`type`")
  37. @Excel(name = "车辆类型",dict = "cartype")
  38. private String type;
  39. //摄像头位置(1-前置,2-后置,3-驾驶室)
  40. @Column(name = "camera")
  41. private Integer camera;
  42. //导出字段摄像头位置(1号 驾驶室;2号 前方摄像头;3号 作业区域; 4号 车辆后方)
  43. @Transient
  44. @Excel(name = "摄像头位置")
  45. private String cameraStr;
  46. //抓拍/录像 位置
  47. @Column(name = "position")
  48. @Excel(name = "抓拍、录像位置")
  49. private String position;
  50. //抓拍/录像 上传时间
  51. @Column(name = "upload_time")
  52. @Excel(name = "抓拍、录像上传时间")
  53. private Date uploadTime;
  54. //抓拍/录像 url
  55. @Column(name = "shoot")
  56. @Excel(name = "抓拍、录像URL")
  57. private String shoot;
  58. //拍摄类型(1-抓拍照片,2-录像视频)
  59. @Column(name = "shoot_type")
  60. private Integer shootType;
  61. //开始时间
  62. @Column(name = "start_time")
  63. private Date startTime;
  64. //结束时间
  65. @Column(name = "end_time")
  66. private Date endTime;
  67. //创建时间
  68. @Column(name = "create_time")
  69. private Date createTime;
  70. //更新时间
  71. @Column(name = "update_time")
  72. private Date updateTime;
  73. //存证状态(0-筛选中,1-已存证)
  74. @Column(name = "`status`")
  75. private Integer status;
  76. //全局唯一id
  77. @Column(name = "t_id")
  78. private String tId;
  79. //批量操作选中id
  80. @Transient
  81. private String checkIds;
  82. }