PatrolInspectionEvent.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. package com.usky.fire.domain;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import java.time.LocalDateTime;
  6. import java.io.Serializable;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. /**
  10. * <p>
  11. * 事件管理表
  12. * </p>
  13. *
  14. * @author han
  15. * @since 2024-05-09
  16. */
  17. @Data
  18. @EqualsAndHashCode(callSuper = false)
  19. public class PatrolInspectionEvent implements Serializable {
  20. private static final long serialVersionUID = 1L;
  21. /**
  22. * 主键ID
  23. */
  24. @TableId(value = "id", type = IdType.AUTO)
  25. private Integer id;
  26. /**
  27. * 巡检人ID
  28. */
  29. private Integer personnelId;
  30. /**
  31. * 巡检人名称
  32. */
  33. private String personnelName;
  34. /**
  35. * 事件名称
  36. */
  37. private String eventName;
  38. /**
  39. * 事件类型
  40. */
  41. private Integer eventType;
  42. /**
  43. * 事件等级
  44. */
  45. private Integer eventLevel;
  46. /**
  47. * 事件分类
  48. */
  49. private Integer eventCategory;
  50. /**
  51. * 事件图片
  52. */
  53. private String eventImage;
  54. /**
  55. * 处置状态
  56. */
  57. private Integer handleStatus;
  58. /**
  59. * 设备ID
  60. */
  61. private String deviceId;
  62. /**
  63. * 处置人
  64. */
  65. private String handleName;
  66. /**
  67. * 处置时间
  68. */
  69. private LocalDateTime handleTime;
  70. /**
  71. * 租户号
  72. */
  73. private Integer tenantId;
  74. /**
  75. * 组织机构ID
  76. */
  77. private Integer deptId;
  78. /**
  79. * 创建人
  80. */
  81. private String createBy;
  82. /**
  83. * 创建时间
  84. */
  85. private LocalDateTime createTime;
  86. /**
  87. * 主计划ID
  88. */
  89. @TableField(exist = false)
  90. private Integer planId;
  91. }