TBCarAutomaticCaptureManagement.java 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. package cn.com.lzt.car.automaticCaptureManagement.entity;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import lombok.Data;
  4. import lombok.EqualsAndHashCode;
  5. import lombok.experimental.Accessors;
  6. import org.jeecgframework.poi.excel.annotation.Excel;
  7. import org.springframework.format.annotation.DateTimeFormat;
  8. import javax.persistence.*;
  9. import java.util.Date;
  10. import java.util.List;
  11. /**
  12. * @Title: Entity
  13. * @Description: 自动抓拍、录像条件管理
  14. * @author LiuMengxiang
  15. * @date 2021年11月16日09:46:19
  16. * @version V1.0
  17. *
  18. */
  19. @Data
  20. @Entity
  21. @EqualsAndHashCode(callSuper = false)
  22. @Accessors(chain = true)
  23. @Table(name = "t_b_car_automatic_capture_management")
  24. @SuppressWarnings("serial")
  25. public class TBCarAutomaticCaptureManagement implements java.io.Serializable{
  26. @Id
  27. @Column(name = "id")
  28. @Excel(name = "id", width = 255.0D)
  29. private String id;
  30. //车辆类型code
  31. @Column(name = "car_type_code")
  32. @Excel(name = "车辆类型code", width = 255.0D)
  33. private String carTypeCode;
  34. //车辆类型Name
  35. @Column(name = "car_type_name")
  36. @Excel(name = "车辆类型Name", width = 255.0D)
  37. private String carTypeName;
  38. //抓拍数量设置
  39. @Column(name = "`snap_num`")
  40. @Excel(name = "抓拍数量设置", width = 255.0D)
  41. private Integer snapNum;
  42. //摄像头位置(4-前置,2-后置,1-驾驶室)有效值域为[0-7]规则同Linux文件权限表示方式rwx
  43. //update Liumouren 2022年3月4日10:36:19 (摄像头位置调整:1号 驾驶室;2号 前方摄像头;3号 作业区域; 4号 车辆后方)同理(8-车辆后方,4-作业区域,2-前方摄像头,1-驾驶室)有效值域为[0-15]规则同上
  44. @Column(name = "camera_position")
  45. @Excel(name = "摄像头位置", width = 255.0D)
  46. private Integer cameraPosition;
  47. //定时设置
  48. @Column(name = "timing_settings")
  49. @Excel(name = "定时设置", width = 255.0D)
  50. @DateTimeFormat(pattern ="yyyy-MM-dd")
  51. @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
  52. private Date timingSettings;
  53. //定时设置状态(T:开启;F:停用)
  54. @Column(name = "timing_settings_status")
  55. @Excel(name = "定时设置状态", width = 255.0D)
  56. private String timingSettingsStatus;
  57. //固定区域设置
  58. @Column(name = "fixed_area_setting")
  59. @Excel(name = "固定区域设置", width = 255.0D)
  60. private String fixedAreaSetting;
  61. //固定区域设置启用状态(T:开启;F:停用)
  62. @Column(name = "fixed_area_setting_status")
  63. private String fixedAreaSettingStatus;
  64. //车辆启动设置
  65. @Column(name = "vehicle_enable_setting")
  66. @Excel(name = "车辆启动设置", width = 255.0D)
  67. private String vehicleEnableSetting;
  68. //车辆启动设置启用状态(T:开启;F:停用)
  69. @Column(name = "vehicle_enable_setting_status")
  70. private String vehicleEnableSettingStatus;
  71. //管理类型(抓拍或录像)有效值域in(snap,video)
  72. @Column(name = "management_type")
  73. private String managementType;
  74. //创建时间
  75. @Column(name = "create_time")
  76. private Date createTime;
  77. //创建人
  78. @Column(name = "create_user")
  79. private String createUser;
  80. //更新时间
  81. @Column(name = "update_time")
  82. private Date updateTime;
  83. //修改人
  84. @Column(name = "update_user")
  85. private String updateUser;
  86. //批量操作选中id
  87. @Transient
  88. private List<String> checkIds;
  89. }