yangdi 4 vuotta sitten
vanhempi
commit
e93aeb9525
88 muutettua tiedostoa jossa 2756 lisäystä ja 0 poistoa
  1. 60 0
      huimv-face/pom.xml
  2. 146 0
      huimv-face/src/main/java/com/huimv/face/entity/AlarmRecords.java
  3. 74 0
      huimv-face/src/main/java/com/huimv/face/entity/BetPlayerDetailModels.java
  4. 68 0
      huimv-face/src/main/java/com/huimv/face/entity/BetPlayerFeatureData.java
  5. 58 0
      huimv-face/src/main/java/com/huimv/face/entity/BetPlayerModels.java
  6. 26 0
      huimv-face/src/main/java/com/huimv/face/entity/CameraRoiModels.java
  7. 116 0
      huimv-face/src/main/java/com/huimv/face/entity/Cameras.java
  8. 26 0
      huimv-face/src/main/java/com/huimv/face/entity/ConfigModels.java
  9. 32 0
      huimv-face/src/main/java/com/huimv/face/entity/DahuaImages.java
  10. 32 0
      huimv-face/src/main/java/com/huimv/face/entity/DataCleanSettings.java
  11. 20 0
      huimv-face/src/main/java/com/huimv/face/entity/FileIds.java
  12. 32 0
      huimv-face/src/main/java/com/huimv/face/entity/FrequencyListModels.java
  13. 32 0
      huimv-face/src/main/java/com/huimv/face/entity/FrequencyModels.java
  14. 41 0
      huimv-face/src/main/java/com/huimv/face/entity/FrequenterContrastModels.java
  15. 62 0
      huimv-face/src/main/java/com/huimv/face/entity/FrequenterModels.java
  16. 32 0
      huimv-face/src/main/java/com/huimv/face/entity/GroupMetaModels.java
  17. 74 0
      huimv-face/src/main/java/com/huimv/face/entity/Groups.java
  18. 32 0
      huimv-face/src/main/java/com/huimv/face/entity/HkeyeLicenseModels.java
  19. 80 0
      huimv-face/src/main/java/com/huimv/face/entity/HumanAttrs.java
  20. 32 0
      huimv-face/src/main/java/com/huimv/face/entity/JulongImages.java
  21. 26 0
      huimv-face/src/main/java/com/huimv/face/entity/LastIdModels.java
  22. 44 0
      huimv-face/src/main/java/com/huimv/face/entity/License.java
  23. 29 0
      huimv-face/src/main/java/com/huimv/face/entity/MailRecords.java
  24. 38 0
      huimv-face/src/main/java/com/huimv/face/entity/MailSettings.java
  25. 95 0
      huimv-face/src/main/java/com/huimv/face/entity/PassRecords.java
  26. 59 0
      huimv-face/src/main/java/com/huimv/face/entity/Personnels.java
  27. 47 0
      huimv-face/src/main/java/com/huimv/face/entity/Photos.java
  28. 32 0
      huimv-face/src/main/java/com/huimv/face/entity/RecordAttrModels.java
  29. 50 0
      huimv-face/src/main/java/com/huimv/face/entity/RecordsUsageModels.java
  30. 98 0
      huimv-face/src/main/java/com/huimv/face/entity/SmartEventModels.java
  31. 35 0
      huimv-face/src/main/java/com/huimv/face/entity/SmartGetUpEventModels.java
  32. 35 0
      huimv-face/src/main/java/com/huimv/face/entity/SmsTemplates.java
  33. 65 0
      huimv-face/src/main/java/com/huimv/face/entity/StrangerDetailModels.java
  34. 58 0
      huimv-face/src/main/java/com/huimv/face/entity/StrangerModels.java
  35. 41 0
      huimv-face/src/main/java/com/huimv/face/entity/SwitchModels.java
  36. 29 0
      huimv-face/src/main/java/com/huimv/face/entity/TaskGroups.java
  37. 29 0
      huimv-face/src/main/java/com/huimv/face/entity/TaskJoinCameraModels.java
  38. 173 0
      huimv-face/src/main/java/com/huimv/face/entity/Tasks.java
  39. 101 0
      huimv-face/src/main/java/com/huimv/face/entity/ThermalModels.java
  40. 35 0
      huimv-face/src/main/java/com/huimv/face/entity/TimePros.java
  41. 74 0
      huimv-face/src/main/java/com/huimv/face/entity/UnknownPeopleModels.java
  42. 59 0
      huimv-face/src/main/java/com/huimv/face/entity/VehicleAttrs.java
  43. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/AlarmRecordsRepository.java
  44. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/BetPlayerDetailModelsRepository.java
  45. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/BetPlayerFeatureDataRepository.java
  46. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/BetPlayerModelsRepository.java
  47. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/CameraRoiModelsRepository.java
  48. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/CamerasRepository.java
  49. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/ConfigModelsRepository.java
  50. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/DahuaImagesRepository.java
  51. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/DataCleanSettingsRepository.java
  52. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/FileIdsRepository.java
  53. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/FrequencyListModelsRepository.java
  54. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/FrequencyModelsRepository.java
  55. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/FrequenterContrastModelsRepository.java
  56. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/FrequenterModelsRepository.java
  57. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/GroupMetaModelsRepository.java
  58. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/GroupsRepository.java
  59. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/HkeyeLicenseModelsRepository.java
  60. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/HumanAttrsRepository.java
  61. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/JulongImagesRepository.java
  62. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/LastIdModelsRepository.java
  63. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/LicenseRepository.java
  64. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/MailRecordsRepository.java
  65. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/MailSettingsRepository.java
  66. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/PassRecordsRepository.java
  67. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/PersonnelsRepository.java
  68. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/PhotosRepository.java
  69. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/RecordAttrModelsRepository.java
  70. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/RecordsUsageModelsRepository.java
  71. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/SmartEventModelsRepository.java
  72. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/SmartGetUpEventModelsRepository.java
  73. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/SmsTemplatesRepository.java
  74. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/StrangerDetailModelsRepository.java
  75. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/StrangerModelsRepository.java
  76. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/SwitchModelsRepository.java
  77. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/TaskGroupsRepository.java
  78. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/TaskJoinCameraModelsRepository.java
  79. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/TasksRepository.java
  80. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/ThermalModelsRepository.java
  81. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/TimeProsRepository.java
  82. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/UnknownPeopleModelsRepository.java
  83. 9 0
      huimv-face/src/main/java/com/huimv/face/repo/VehicleAttrsRepository.java
  84. 19 0
      huimv-face/src/main/resources/application-prod.yml
  85. 23 0
      huimv-face/src/main/resources/application-test.yml
  86. 7 0
      huimv-face/src/main/resources/application.properties
  87. 7 0
      huimv-face/src/main/resources/beans.xml
  88. 4 0
      huimv-face/src/main/resources/log4j.properties

+ 60 - 0
huimv-face/pom.xml

@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>org.example</groupId>
+    <artifactId>huimv-face</artifactId>
+    <version>1.0-SNAPSHOT</version>
+
+
+    <properties>
+        <java.version>1.8</java.version>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+            <version>2.3.10.RELEASE</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-test</artifactId>
+            <version>2.3.10.RELEASE</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-data-jpa</artifactId>
+            <version>2.3.1.RELEASE</version>
+        </dependency>
+        <dependency>
+            <groupId>mysql</groupId>
+            <artifactId>mysql-connector-java</artifactId>
+            <version>8.0.16</version>
+        </dependency>
+        <dependency>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
+            <version>1.18.20</version>
+        </dependency>
+    </dependencies>
+
+
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </build>
+
+
+
+
+</project>

+ 146 - 0
huimv-face/src/main/java/com/huimv/face/entity/AlarmRecords.java

@@ -0,0 +1,146 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "alarm_records")
+public class AlarmRecords implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "camera_id", nullable = false)
+    private Integer cameraId;
+
+    @Column(name = "photo_id", nullable = false)
+    private Long photoId;
+
+    @Column(name = "personnel_id", nullable = false)
+    private Long personnelId;
+
+    @Column(name = "image_path")
+    private String imagePath;
+
+    @Column(name = "capture_path")
+    private String capturePath;
+
+    @Column(name = "personnel_path")
+    private String personnelPath;
+
+    @Column(name = "score", nullable = false)
+    private Double score;
+
+    @Column(name = "live_big_score1")
+    private Double liveBigScore1;
+
+    @Column(name = "live_small_score1")
+    private Double liveSmallScore1;
+
+    @Column(name = "live_big_score")
+    private Double liveBigScore;
+
+    @Column(name = "live_small_score")
+    private Double liveSmallScore;
+
+    @Column(name = "live_passed")
+    private Integer livePassed;
+
+    @Column(name = "live_needed")
+    private Integer liveNeeded;
+
+    @Column(name = "live_enlarged")
+    private Integer liveEnlarged;
+
+    @Column(name = "rec_res")
+    private byte[] recRes;
+
+    @Column(name = "left", nullable = false)
+    private Double left;
+
+    @Column(name = "top", nullable = false)
+    private Double top;
+
+    @Column(name = "width", nullable = false)
+    private Double width;
+
+    @Column(name = "height", nullable = false)
+    private Double height;
+
+    @Column(name = "rect_left")
+    private Double rectLeft;
+
+    @Column(name = "rect_right")
+    private Double rectRight;
+
+    @Column(name = "rect_top")
+    private Double rectTop;
+
+    @Column(name = "rect_bottom")
+    private Double rectBottom;
+
+    @Column(name = "per_left")
+    private Double perLeft;
+
+    @Column(name = "per_right")
+    private Double perRight;
+
+    @Column(name = "per_top")
+    private Double perTop;
+
+    @Column(name = "per_bottom")
+    private Double perBottom;
+
+    @Column(name = "feature")
+    private byte[] feature;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "camera_name")
+    private String cameraName;
+
+    @Column(name = "task_name")
+    private String taskName;
+
+    @Column(name = "group_id")
+    private Integer groupId;
+
+    @Column(name = "pid_card")
+    private String pidCard;
+
+    @Column(name = "pname")
+    private String pname;
+
+    @Column(name = "group_name")
+    private String groupName;
+
+    @Column(name = "group_type")
+    private Integer groupType;
+
+    @Column(name = "event_group_id")
+    private Long eventGroupId;
+
+    @Column(name = "origin_groups")
+    private String originGroups;
+
+    @Column(name = "dahua_event_id")
+    private Integer dahuaEventId;
+
+    @Column(name = "julong_event_id")
+    private String julongEventId;
+
+    @Column(name = "standing")
+    private Integer standing;
+
+}

+ 74 - 0
huimv-face/src/main/java/com/huimv/face/entity/BetPlayerDetailModels.java

@@ -0,0 +1,74 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "bet_player_detail_models")
+public class BetPlayerDetailModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "bet_player_id", nullable = false)
+    private String betPlayerId;
+
+    @Column(name = "face")
+    private String face;
+
+    @Column(name = "background")
+    private String background;
+
+    @Column(name = "camera_name")
+    private String cameraName;
+
+    @Column(name = "camera_id")
+    private Integer cameraId;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "standing")
+    private Integer standing;
+
+    @Column(name = "angle_group")
+    private Integer angleGroup;
+
+    @Column(name = "quality")
+    private Double quality;
+
+    @Column(name = "feature")
+    private byte[] feature;
+
+    @Column(name = "attractive")
+    private Double attractive;
+
+    @Column(name = "l2_norm")
+    private Double l2Norm;
+
+    @Column(name = "liveness")
+    private Double liveness;
+
+    @Column(name = "liveness_ex")
+    private Double livenessEx;
+
+    @Column(name = "sorce_in_face_db")
+    private Double sorceInFaceDb;
+
+    @Column(name = "sorce_in_table_db")
+    private Double sorceInTableDb;
+
+    @Column(name = "face_in_face_db")
+    private String faceInFaceDb;
+
+    @Column(name = "face_in_table_db")
+    private String faceInTableDb;
+
+}

+ 68 - 0
huimv-face/src/main/java/com/huimv/face/entity/BetPlayerFeatureData.java

@@ -0,0 +1,68 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "bet_player_feature_data")
+public class BetPlayerFeatureData implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "image_id")
+    private String imageId;
+
+    @Column(name = "timestamp")
+    private Long timestamp;
+
+    @Column(name = "camera_name")
+    private String cameraName;
+
+    @Column(name = "quality")
+    private Double quality;
+
+    @Column(name = "feature")
+    private byte[] feature;
+
+    @Column(name = "pitch")
+    private Double pitch;
+
+    @Column(name = "roll")
+    private Double roll;
+
+    @Column(name = "yaw")
+    private Double yaw;
+
+    @Column(name = "confidence")
+    private Double confidence;
+
+    @Column(name = "attractive")
+    private Double attractive;
+
+    @Column(name = "l2_norm")
+    private Double l2Norm;
+
+    @Column(name = "liveness")
+    private Double liveness;
+
+    @Column(name = "liveness_ex")
+    private Double livenessEx;
+
+    @Column(name = "face_image")
+    private String faceImage;
+
+    @Column(name = "back_ground_image")
+    private String backGroundImage;
+
+    @Column(name = "angle")
+    private Integer angle;
+
+}

+ 58 - 0
huimv-face/src/main/java/com/huimv/face/entity/BetPlayerModels.java

@@ -0,0 +1,58 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "bet_player_models")
+public class BetPlayerModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    private String id;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "update_time", nullable = false)
+    private Long updateTime;
+
+    @Column(name = "last_face")
+    private String lastFace;
+
+    @Column(name = "last_bg")
+    private String lastBg;
+
+    @Column(name = "last_julong_event_id")
+    private String lastJulongEventId;
+
+    @Column(name = "face_count")
+    private Long faceCount;
+
+    @Column(name = "avg_age")
+    private Double avgAge;
+
+    @Column(name = "avg_gender")
+    private Double avgGender;
+
+    @Column(name = "feature_count_list")
+    private byte[] featureCountList;
+
+    @Column(name = "feature_detail_list")
+    private byte[] featureDetailList;
+
+    @Column(name = "face_list")
+    private byte[] faceList;
+
+}

+ 26 - 0
huimv-face/src/main/java/com/huimv/face/entity/CameraRoiModels.java

@@ -0,0 +1,26 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "camera_roi_models")
+public class CameraRoiModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "camera_id")
+    private Integer cameraId;
+
+    @Column(name = "roi")
+    private byte[] roi;
+
+}

+ 116 - 0
huimv-face/src/main/java/com/huimv/face/entity/Cameras.java

@@ -0,0 +1,116 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "cameras")
+public class Cameras implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "type", nullable = false)
+    private Integer type;
+
+    @Column(name = "vendor", nullable = false)
+    private Integer vendor;
+
+    @Column(name = "device_id", nullable = false)
+    private String deviceId;
+
+    @Column(name = "switch_name")
+    private String switchName;
+
+    @Column(name = "switch_ip")
+    private String switchIp;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "update_time", nullable = false)
+    private Long updateTime;
+
+    @Column(name = "location", nullable = false)
+    private String location;
+
+    @Column(name = "gate", nullable = false)
+    private Integer gate;
+
+    @Column(name = "url", nullable = false)
+    private String url;
+
+    @Column(name = "threshold", nullable = false)
+    private Double threshold;
+
+    @Column(name = "quality", nullable = false)
+    private Double quality;
+
+    @Column(name = "groups", nullable = false)
+    private String groups;
+
+    @Column(name = "tag", nullable = false)
+    private String tag;
+
+    @Column(name = "longitude", nullable = false)
+    private String longitude;
+
+    @Column(name = "latitude", nullable = false)
+    private String latitude;
+
+    @Column(name = "mark", nullable = false)
+    private String mark;
+
+    @Column(name = "ip")
+    private String ip;
+
+    @Column(name = "port")
+    private String port;
+
+    @Column(name = "username")
+    private String username;
+
+    @Column(name = "password")
+    private String password;
+
+    @Column(name = "camera_address")
+    private String cameraAddress;
+
+    @Column(name = "human_temp_upper")
+    private Double humanTempUpper;
+
+    @Column(name = "human_temp_lower")
+    private Double humanTempLower;
+
+    @Column(name = "object_temp_lower")
+    private Double objectTempLower;
+
+    @Column(name = "send_smart_event_alert")
+    private Integer sendSmartEventAlert;
+
+    @Column(name = "from_email")
+    private String fromEmail;
+
+    @Column(name = "from_password")
+    private String fromPassword;
+
+    @Column(name = "to_email")
+    private String toEmail;
+
+    @Column(name = "table_info")
+    private String tableInfo;
+
+    @Column(name = "table_pos")
+    private String tablePos;
+
+    @Column(name = "roi")
+    private String roi;
+
+}

+ 26 - 0
huimv-face/src/main/java/com/huimv/face/entity/ConfigModels.java

@@ -0,0 +1,26 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "config_models")
+public class ConfigModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "name")
+    private String name;
+
+    @Column(name = "value")
+    private byte[] value;
+
+}

+ 32 - 0
huimv-face/src/main/java/com/huimv/face/entity/DahuaImages.java

@@ -0,0 +1,32 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "dahua_images")
+public class DahuaImages implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+    @Column(name = "event_id")
+    private Integer eventId;
+
+    @Column(name = "camera_id")
+    private Integer cameraId;
+
+    @Column(name = "image_path")
+    private String imagePath;
+
+    @Column(name = "create_time")
+    private Long createTime;
+
+}

+ 32 - 0
huimv-face/src/main/java/com/huimv/face/entity/DataCleanSettings.java

@@ -0,0 +1,32 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "data_clean_settings")
+public class DataCleanSettings implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "interval")
+    private String interval;
+
+    @Column(name = "types")
+    private String types;
+
+    @Column(name = "last_run")
+    private Long lastRun;
+
+    @Column(name = "persist_weeks")
+    private Long persistWeeks;
+
+}

+ 20 - 0
huimv-face/src/main/java/com/huimv/face/entity/FileIds.java

@@ -0,0 +1,20 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "file_ids")
+public class FileIds implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+}

+ 32 - 0
huimv-face/src/main/java/com/huimv/face/entity/FrequencyListModels.java

@@ -0,0 +1,32 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "frequency_list_models")
+public class FrequencyListModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "count")
+    private Long count;
+
+    @Column(name = "creat_time")
+    private Long creatTime;
+
+    @Column(name = "personnel_id")
+    private String personnelId;
+
+}

+ 32 - 0
huimv-face/src/main/java/com/huimv/face/entity/FrequencyModels.java

@@ -0,0 +1,32 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "frequency_models")
+public class FrequencyModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "time_interval")
+    private Integer timeInterval;
+
+    @Column(name = "frequency_interval")
+    private Integer frequencyInterval;
+
+    @Column(name = "initial_date")
+    private Long initialDate;
+
+}

+ 41 - 0
huimv-face/src/main/java/com/huimv/face/entity/FrequenterContrastModels.java

@@ -0,0 +1,41 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "frequenter_contrast_models")
+public class FrequenterContrastModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "personnel_id", nullable = false)
+    private String personnelId;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "update_time", nullable = false)
+    private Long updateTime;
+
+    @Column(name = "last_face", nullable = false)
+    private String lastFace;
+
+    @Column(name = "avg_age", nullable = false)
+    private Double avgAge;
+
+    @Column(name = "avg_gender", nullable = false)
+    private Double avgGender;
+
+    @Column(name = "feature")
+    private byte[] feature;
+
+}

+ 62 - 0
huimv-face/src/main/java/com/huimv/face/entity/FrequenterModels.java

@@ -0,0 +1,62 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "frequenter_models")
+public class FrequenterModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "personnel_id")
+    private String personnelId;
+
+    @Column(name = "day_id", nullable = false)
+    private String dayId;
+
+    @Column(name = "task_id", nullable = false)
+    private Integer taskId;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "update_time", nullable = false)
+    private Long updateTime;
+
+    @Column(name = "last_face", nullable = false)
+    private String lastFace;
+
+    @Column(name = "last_bg", nullable = false)
+    private String lastBg;
+
+    @Column(name = "last_julong_event_id", nullable = false)
+    private String lastJulongEventId;
+
+    @Column(name = "visit_count", nullable = false)
+    private Long visitCount;
+
+    @Column(name = "avg_age", nullable = false)
+    private Double avgAge;
+
+    @Column(name = "avg_gender", nullable = false)
+    private Double avgGender;
+
+    @Column(name = "feature_count", nullable = false)
+    private Integer featureCount;
+
+    @Column(name = "image_id", nullable = false)
+    private String imageId;
+
+    @Column(name = "feature")
+    private byte[] feature;
+
+}

+ 32 - 0
huimv-face/src/main/java/com/huimv/face/entity/GroupMetaModels.java

@@ -0,0 +1,32 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "group_meta_models")
+public class GroupMetaModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "db_type_text")
+    private String dbTypeText;
+
+    @Column(name = "db_type_color")
+    private String dbTypeColor;
+
+    @Column(name = "db_type_remark")
+    private String dbTypeRemark;
+
+    @Column(name = "wall_alert_required")
+    private Integer wallAlertRequired;
+
+}

+ 74 - 0
huimv-face/src/main/java/com/huimv/face/entity/Groups.java

@@ -0,0 +1,74 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "groups")
+public class Groups implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "update_time", nullable = false)
+    private Long updateTime;
+
+    @Column(name = "name", nullable = false)
+    private String name;
+
+    @Column(name = "mark", nullable = false)
+    private String mark;
+
+    @Column(name = "color")
+    private String color;
+
+    @Column(name = "on_gpu")
+    private Integer onGpu;
+
+    @Column(name = "broken")
+    private Integer broken;
+
+    @Column(name = "group_type", nullable = false)
+    private Integer groupType;
+
+    @Column(name = "is_sms_on", nullable = false)
+    private Boolean smsOn;
+
+    @Column(name = "sms_interval", nullable = false)
+    private Integer smsInterval;
+
+    @Column(name = "sms_phones")
+    private String smsPhones;
+
+    @Column(name = "wall_alert_required")
+    private Integer wallAlertRequired;
+
+    @Column(name = "alert_email")
+    private Integer alertEmail;
+
+    @Column(name = "recipient")
+    private String recipient;
+
+    @Column(name = "sender")
+    private String sender;
+
+    @Column(name = "sender_password")
+    private String senderPassword;
+
+    @Column(name = "email_alert_interval")
+    private Integer emailAlertInterval;
+
+    @Column(name = "email_alert_unit")
+    private Integer emailAlertUnit;
+
+}

+ 32 - 0
huimv-face/src/main/java/com/huimv/face/entity/HkeyeLicenseModels.java

@@ -0,0 +1,32 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "hkeye_license_models")
+public class HkeyeLicenseModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "key")
+    private String key;
+
+    @Column(name = "start_time")
+    private Long startTime;
+
+    @Column(name = "end_time")
+    private Long endTime;
+
+    @Column(name = "status")
+    private Integer status;
+
+}

+ 80 - 0
huimv-face/src/main/java/com/huimv/face/entity/HumanAttrs.java

@@ -0,0 +1,80 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "human_attrs")
+public class HumanAttrs implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Column(name = "jacket_color")
+    private String jacketColor;
+
+    @Column(name = "trousers_color")
+    private String trousersColor;
+
+    @Column(name = "glass")
+    private String glass;
+
+    @Column(name = "age_group")
+    private String ageGroup;
+
+    @Column(name = "ride")
+    private String ride;
+
+    @Column(name = "gender")
+    private String gender;
+
+    @Column(name = "bag")
+    private String bag;
+
+    @Column(name = "things")
+    private String things;
+
+    @Column(name = "hat")
+    private String hat;
+
+    @Column(name = "jacket_type")
+    private String jacketType;
+
+    @Column(name = "trousers_type")
+    private String trousersType;
+
+    @Column(name = "mask")
+    private String mask;
+
+    @Column(name = "hair_style")
+    private String hairStyle;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+    @Column(name = "create_time")
+    private Long createTime;
+
+    @Column(name = "background")
+    private String background;
+
+    @Column(name = "small")
+    private String small;
+
+    @Column(name = "camera_id")
+    private Integer cameraId;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "camera_name")
+    private String cameraName;
+
+    @Column(name = "upload_id")
+    private Long uploadId;
+
+}

+ 32 - 0
huimv-face/src/main/java/com/huimv/face/entity/JulongImages.java

@@ -0,0 +1,32 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "julong_images")
+public class JulongImages implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+    @Column(name = "event_id")
+    private String eventId;
+
+    @Column(name = "camera_id")
+    private Integer cameraId;
+
+    @Column(name = "image_path")
+    private String imagePath;
+
+    @Column(name = "create_time")
+    private Long createTime;
+
+}

+ 26 - 0
huimv-face/src/main/java/com/huimv/face/entity/LastIdModels.java

@@ -0,0 +1,26 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "last_id_models")
+public class LastIdModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+    @Column(name = "table", nullable = false)
+    private String table;
+
+    @Column(name = "last")
+    private Integer last;
+
+}

+ 44 - 0
huimv-face/src/main/java/com/huimv/face/entity/License.java

@@ -0,0 +1,44 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "license")
+public class License implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "create_time")
+    private Long createTime;
+
+    @Column(name = "update_time")
+    private Long updateTime;
+
+    @Column(name = "author")
+    private String author;
+
+    @Column(name = "start_time")
+    private Long startTime;
+
+    @Column(name = "end_time")
+    private Long endTime;
+
+    @Column(name = "status")
+    private Integer status;
+
+    @Column(name = "key")
+    private String key;
+
+    @Column(name = "key_secret")
+    private String keySecret;
+
+}

+ 29 - 0
huimv-face/src/main/java/com/huimv/face/entity/MailRecords.java

@@ -0,0 +1,29 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "mail_records")
+public class MailRecords implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Column(name = "to")
+    private String to;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "create_time")
+    private Long createTime;
+
+    @Column(name = "personnel_id")
+    private Long personnelId;
+
+}

+ 38 - 0
huimv-face/src/main/java/com/huimv/face/entity/MailSettings.java

@@ -0,0 +1,38 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "mail_settings")
+public class MailSettings implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "to")
+    private String to;
+
+    @Column(name = "interval")
+    private Long interval;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "status")
+    private Integer status;
+
+    @Column(name = "from")
+    private String from;
+
+    @Column(name = "password")
+    private String password;
+
+}

+ 95 - 0
huimv-face/src/main/java/com/huimv/face/entity/PassRecords.java

@@ -0,0 +1,95 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "pass_records")
+public class PassRecords implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "camera_id", nullable = false)
+    private Integer cameraId;
+
+    @Column(name = "uuid")
+    private Long uuid;
+
+    @Column(name = "image_path")
+    private String imagePath;
+
+    @Column(name = "capture_path")
+    private String capturePath;
+
+    @Column(name = "left", nullable = false)
+    private Double left;
+
+    @Column(name = "top", nullable = false)
+    private Double top;
+
+    @Column(name = "width", nullable = false)
+    private Double width;
+
+    @Column(name = "height", nullable = false)
+    private Double height;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "rect_left")
+    private Double rectLeft;
+
+    @Column(name = "rect_top")
+    private Double rectTop;
+
+    @Column(name = "rect_right")
+    private Double rectRight;
+
+    @Column(name = "rect_bottom")
+    private Double rectBottom;
+
+    @Column(name = "camera_name")
+    private String cameraName;
+
+    @Column(name = "task_name")
+    private String taskName;
+
+    @Column(name = "group_name")
+    private String groupName;
+
+    @Column(name = "origin_groups")
+    private String originGroups;
+
+    @Column(name = "dahua_event_id")
+    private Integer dahuaEventId;
+
+    @Column(name = "julong_event_id")
+    private String julongEventId;
+
+    @Column(name = "stranger_alarm")
+    private Integer strangerAlarm;
+
+    @Column(name = "feature")
+    private byte[] feature;
+
+    @Column(name = "livescore")
+    private Double livescore;
+
+    @Column(name = "attr_type")
+    private Integer attrType;
+
+    @Column(name = "upload_id")
+    private Long uploadId;
+
+}

+ 59 - 0
huimv-face/src/main/java/com/huimv/face/entity/Personnels.java

@@ -0,0 +1,59 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "personnels")
+public class Personnels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "update_time", nullable = false)
+    private Long updateTime;
+
+    @Column(name = "name", nullable = false)
+    private String name;
+
+    @Column(name = "number", nullable = false)
+    private String number;
+
+    @Column(name = "gender", nullable = false)
+    private Integer gender;
+
+    @Column(name = "group_id", nullable = false)
+    private Integer groupId;
+
+    @Column(name = "tag", nullable = false)
+    private String tag;
+
+    @Column(name = "id_card", nullable = false)
+    private String idCard;
+
+    @Column(name = "mark", nullable = false)
+    private String mark;
+
+    @Column(name = "left", nullable = false)
+    private Double left;
+
+    @Column(name = "top", nullable = false)
+    private Double top;
+
+    @Column(name = "right", nullable = false)
+    private Double right;
+
+    @Column(name = "bottom", nullable = false)
+    private Double bottom;
+
+}

+ 47 - 0
huimv-face/src/main/java/com/huimv/face/entity/Photos.java

@@ -0,0 +1,47 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "photos")
+public class Photos implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+    @Column(name = "personnel_id", nullable = false)
+    private Long personnelId;
+
+    @Column(name = "group_id", nullable = false)
+    private Integer groupId;
+
+    @Column(name = "face_id", nullable = false)
+    private Long faceId;
+
+    @Column(name = "photo_path")
+    private String photoPath;
+
+    @Column(name = "tag", nullable = false)
+    private String tag;
+
+    @Column(name = "left", nullable = false)
+    private Double left;
+
+    @Column(name = "top", nullable = false)
+    private Double top;
+
+    @Column(name = "right", nullable = false)
+    private Double right;
+
+    @Column(name = "bottom", nullable = false)
+    private Double bottom;
+
+}

+ 32 - 0
huimv-face/src/main/java/com/huimv/face/entity/RecordAttrModels.java

@@ -0,0 +1,32 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "record_attr_models")
+public class RecordAttrModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Column(name = "create_time")
+    private Long createTime;
+
+    @Column(name = "camera_id")
+    private Integer cameraId;
+
+    @Column(name = "desc")
+    private String desc;
+
+    @Column(name = "value")
+    private String value;
+
+    @Column(name = "rid")
+    private Long rid;
+
+}

+ 50 - 0
huimv-face/src/main/java/com/huimv/face/entity/RecordsUsageModels.java

@@ -0,0 +1,50 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "records_usage_models")
+public class RecordsUsageModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "group_size")
+    private Double groupSize;
+
+    @Column(name = "group_usage")
+    private Double groupUsage;
+
+    @Column(name = "capture_size")
+    private Double captureSize;
+
+    @Column(name = "capture_usage")
+    private Double captureUsage;
+
+    @Column(name = "reco_size")
+    private Double recoSize;
+
+    @Column(name = "reco_usage")
+    private Double recoUsage;
+
+    @Column(name = "other_size")
+    private Double otherSize;
+
+    @Column(name = "other_usage")
+    private Double otherUsage;
+
+    @Column(name = "left_size")
+    private Double leftSize;
+
+    @Column(name = "left_usage")
+    private Double leftUsage;
+
+}

+ 98 - 0
huimv-face/src/main/java/com/huimv/face/entity/SmartEventModels.java

@@ -0,0 +1,98 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "smart_event_models")
+public class SmartEventModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+    @Column(name = "create_time")
+    private Long createTime;
+
+    @Column(name = "camera_id")
+    private Integer cameraId;
+
+    @Column(name = "camera_name")
+    private String cameraName;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "big_image_path")
+    private String bigImagePath;
+
+    @Column(name = "left")
+    private Double left;
+
+    @Column(name = "top")
+    private Double top;
+
+    @Column(name = "width")
+    private Double width;
+
+    @Column(name = "height")
+    private Double height;
+
+    @Column(name = "action")
+    private String action;
+
+    @Column(name = "function")
+    private String function;
+
+    @Column(name = "level")
+    private String level;
+
+    @Column(name = "name")
+    private String name;
+
+    @Column(name = "speed")
+    private Double speed;
+
+    @Column(name = "time")
+    private String time;
+
+    @Column(name = "count")
+    private Integer count;
+
+    @Column(name = "mask")
+    private Integer mask;
+
+    @Column(name = "identity")
+    private String identity;
+
+    @Column(name = "remark")
+    private String remark;
+
+    @Column(name = "ce")
+    private Double ce;
+
+    @Column(name = "fa")
+    private Double fa;
+
+    @Column(name = "longitude")
+    private Double longitude;
+
+    @Column(name = "latitude")
+    private Double latitude;
+
+    @Column(name = "altitude")
+    private Double altitude;
+
+    @Column(name = "attribute")
+    private String attribute;
+
+    @Column(name = "alert_typ")
+    private String alertTyp;
+
+}

+ 35 - 0
huimv-face/src/main/java/com/huimv/face/entity/SmartGetUpEventModels.java

@@ -0,0 +1,35 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "smart_get_up_event_models")
+public class SmartGetUpEventModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "camera_a_id")
+    private Integer cameraAId;
+
+    @Column(name = "camera_b_id")
+    private Integer cameraBId;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "sign_a")
+    private Integer signA;
+
+    @Column(name = "sign_b")
+    private Integer signB;
+
+}

+ 35 - 0
huimv-face/src/main/java/com/huimv/face/entity/SmsTemplates.java

@@ -0,0 +1,35 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "sms_templates")
+public class SmsTemplates implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "update_time", nullable = false)
+    private Long updateTime;
+
+    @Column(name = "before", nullable = false)
+    private String before;
+
+    @Column(name = "template", nullable = false)
+    private String template;
+
+    @Column(name = "after", nullable = false)
+    private String after;
+
+}

+ 65 - 0
huimv-face/src/main/java/com/huimv/face/entity/StrangerDetailModels.java

@@ -0,0 +1,65 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Table;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "stranger_detail_models")
+public class StrangerDetailModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "stranger_id", nullable = false)
+    private String strangerId;
+
+    @Column(name = "face")
+    private String face;
+
+    @Column(name = "background")
+    private String background;
+
+    @Column(name = "camera_name")
+    private String cameraName;
+
+    @Column(name = "camera_id")
+    private Integer cameraId;
+
+    @Column(name = "gender")
+    private Integer gender;
+
+    @Column(name = "age")
+    private Integer age;
+
+    @Column(name = "julong_event_id")
+    private String julongEventId;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "rect_left")
+    private Integer rectLeft;
+
+    @Column(name = "rect_top")
+    private Integer rectTop;
+
+    @Column(name = "rect_width")
+    private Integer rectWidth;
+
+    @Column(name = "rect_height")
+    private Integer rectHeight;
+
+    @Column(name = "top_n_in_group")
+    private byte[] topNInGroup;
+
+    @Column(name = "standing")
+    private Integer standing;
+
+}

+ 58 - 0
huimv-face/src/main/java/com/huimv/face/entity/StrangerModels.java

@@ -0,0 +1,58 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "stranger_models")
+public class StrangerModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    private String id;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "update_time", nullable = false)
+    private Long updateTime;
+
+    @Column(name = "last_face")
+    private String lastFace;
+
+    @Column(name = "last_bg")
+    private String lastBg;
+
+    @Column(name = "last_julong_event_id")
+    private String lastJulongEventId;
+
+    @Column(name = "face_count")
+    private Long faceCount;
+
+    @Column(name = "avg_age")
+    private Double avgAge;
+
+    @Column(name = "avg_gender")
+    private Double avgGender;
+
+    @Column(name = "feature_count")
+    private Integer featureCount;
+
+    @Column(name = "versideon")
+    private Integer versideon;
+
+    @Column(name = "image_id")
+    private String imageId;
+
+}

+ 41 - 0
huimv-face/src/main/java/com/huimv/face/entity/SwitchModels.java

@@ -0,0 +1,41 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "switch_models")
+public class SwitchModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "ip")
+    private String ip;
+
+    @Column(name = "name")
+    private String name;
+
+    @Column(name = "duration")
+    private Integer duration;
+
+    @Column(name = "interval")
+    private Integer interval;
+
+    @Column(name = "mark")
+    private String mark;
+
+    @Column(name = "status_conn")
+    private Integer statusConn;
+
+    @Column(name = "status_open")
+    private Integer statusOpen;
+
+}

+ 29 - 0
huimv-face/src/main/java/com/huimv/face/entity/TaskGroups.java

@@ -0,0 +1,29 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "task_groups")
+public class TaskGroups implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "task_id", nullable = false)
+    private Integer taskId;
+
+    @Column(name = "group_id", nullable = false)
+    private Integer groupId;
+
+}

+ 29 - 0
huimv-face/src/main/java/com/huimv/face/entity/TaskJoinCameraModels.java

@@ -0,0 +1,29 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "task_join_camera_models")
+public class TaskJoinCameraModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "task_id", nullable = false)
+    private Integer taskId;
+
+    @Column(name = "camera_id", nullable = false)
+    private Integer cameraId;
+
+}

+ 173 - 0
huimv-face/src/main/java/com/huimv/face/entity/Tasks.java

@@ -0,0 +1,173 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "tasks")
+public class Tasks implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "update_time", nullable = false)
+    private Long updateTime;
+
+    @Column(name = "name", nullable = false)
+    private String name;
+
+    @Column(name = "task_type", nullable = false)
+    private Integer taskType;
+
+    @Column(name = "status", nullable = false)
+    private Integer status;
+
+    @Column(name = "start_time", nullable = false)
+    private Long startTime;
+
+    @Column(name = "end_time", nullable = false)
+    private Long endTime;
+
+    @Column(name = "mark", nullable = false)
+    private String mark;
+
+    @Column(name = "door_direction")
+    private String doorDirection;
+
+    @Column(name = "need_live", nullable = false)
+    private Integer needLive;
+
+    @Column(name = "need_live_score", nullable = false)
+    private Double needLiveScore;
+
+    @Column(name = "live", nullable = false)
+    private Double live;
+
+    @Column(name = "live_ex", nullable = false)
+    private Double liveEx;
+
+    @Column(name = "live_start")
+    private Integer liveStart;
+
+    @Column(name = "live_end")
+    private Integer liveEnd;
+
+    @Column(name = "recog_threshold", nullable = false)
+    private String recogThreshold;
+
+    @Column(name = "group_ids", nullable = false)
+    private String groupIds;
+
+    @Column(name = "group_names", nullable = false)
+    private String groupNames;
+
+    @Column(name = "switch_name")
+    private String switchName;
+
+    @Column(name = "person_pass_interval", nullable = false)
+    private Long personPassInterval;
+
+    @Column(name = "camera_id", nullable = false)
+    private Integer cameraId;
+
+    @Column(name = "camera_ids", nullable = false)
+    private String cameraIds;
+
+    @Column(name = "send_smart_event_alert")
+    private Integer sendSmartEventAlert;
+
+    @Column(name = "from_email")
+    private String fromEmail;
+
+    @Column(name = "from_password")
+    private String fromPassword;
+
+    @Column(name = "to_email")
+    private String toEmail;
+
+    @Column(name = "st1", nullable = false)
+    private Double st1;
+
+    @Column(name = "st2", nullable = false)
+    private Double st2;
+
+    @Column(name = "st3", nullable = false)
+    private Double st3;
+
+    @Column(name = "st4", nullable = false)
+    private Double st4;
+
+    @Column(name = "pos_thr", nullable = false)
+    private Double posThr;
+
+    @Column(name = "pos_thr1", nullable = false)
+    private Double posThr1;
+
+    @Column(name = "cfid_thr", nullable = false)
+    private Double cfidThr;
+
+    @Column(name = "sf_limit", nullable = false)
+    private Integer sfLimit;
+
+    @Column(name = "l2norm", nullable = false)
+    private Double l2norm;
+
+    @Column(name = "bet_top_n", nullable = false)
+    private Integer betTopN;
+
+    @Column(name = "bet_st1", nullable = false)
+    private Double betSt1;
+
+    @Column(name = "bet_st2", nullable = false)
+    private Double betSt2;
+
+    @Column(name = "bet_st3", nullable = false)
+    private Double betSt3;
+
+    @Column(name = "bet_st4", nullable = false)
+    private Double betSt4;
+
+    @Column(name = "bet_st5", nullable = false)
+    private Double betSt5;
+
+    @Column(name = "bet_face_l2_norm_thr", nullable = false)
+    private Double betFaceL2NormThr;
+
+    @Column(name = "bet_face_quality_thr", nullable = false)
+    private Double betFaceQualityThr;
+
+    @Column(name = "bet_face_pos_thr", nullable = false)
+    private Double betFacePosThr;
+
+    @Column(name = "bet_face_confidence", nullable = false)
+    private Double betFaceConfidence;
+
+    @Column(name = "need_frequency")
+    private Integer needFrequency;
+
+    @Column(name = "frequency_threshold", nullable = false)
+    private Integer frequencyThreshold;
+
+    @Column(name = "date_interval", nullable = false)
+    private Integer dateInterval;
+
+    @Column(name = "need_sign")
+    private Integer needSign;
+
+    @Column(name = "sign_start_time")
+    private Long signStartTime;
+
+    @Column(name = "sign_end_time")
+    private Long signEndTime;
+
+}

+ 101 - 0
huimv-face/src/main/java/com/huimv/face/entity/ThermalModels.java

@@ -0,0 +1,101 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "thermal_models")
+public class ThermalModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+    @Column(name = "create_time")
+    private Long createTime;
+
+    @Column(name = "camera_id")
+    private Integer cameraId;
+
+    @Column(name = "camera_name")
+    private String cameraName;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "big_image_path")
+    private String bigImagePath;
+
+    @Column(name = "small_image_path")
+    private String smallImagePath;
+
+    @Column(name = "left")
+    private Double left;
+
+    @Column(name = "top")
+    private Double top;
+
+    @Column(name = "width")
+    private Double width;
+
+    @Column(name = "height")
+    private Double height;
+
+    @Column(name = "action")
+    private String action;
+
+    @Column(name = "function")
+    private String function;
+
+    @Column(name = "level")
+    private String level;
+
+    @Column(name = "name")
+    private String name;
+
+    @Column(name = "speed")
+    private Double speed;
+
+    @Column(name = "time")
+    private String time;
+
+    @Column(name = "count")
+    private Integer count;
+
+    @Column(name = "mask")
+    private Integer mask;
+
+    @Column(name = "identity")
+    private String identity;
+
+    @Column(name = "remark")
+    private String remark;
+
+    @Column(name = "ce")
+    private Double ce;
+
+    @Column(name = "fa")
+    private Double fa;
+
+    @Column(name = "longitude")
+    private Double longitude;
+
+    @Column(name = "latitude")
+    private Double latitude;
+
+    @Column(name = "altitude")
+    private Double altitude;
+
+    @Column(name = "attribute")
+    private String attribute;
+
+    @Column(name = "alert_typ")
+    private String alertTyp;
+
+}

+ 35 - 0
huimv-face/src/main/java/com/huimv/face/entity/TimePros.java

@@ -0,0 +1,35 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "time_pros")
+public class TimePros implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Integer id;
+
+    @Column(name = "sync_type")
+    private String syncType;
+
+    @Column(name = "server")
+    private String server;
+
+    @Column(name = "port")
+    private String port;
+
+    @Column(name = "time_interval")
+    private Long timeInterval;
+
+    @Column(name = "last_run")
+    private Long lastRun;
+
+}

+ 74 - 0
huimv-face/src/main/java/com/huimv/face/entity/UnknownPeopleModels.java

@@ -0,0 +1,74 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "unknown_people_models")
+public class UnknownPeopleModels implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+    @Column(name = "pass_record_id", nullable = false)
+    private String passRecordId;
+
+    @Column(name = "create_time", nullable = false)
+    private Long createTime;
+
+    @Column(name = "camera_id", nullable = false)
+    private Integer cameraId;
+
+    @Column(name = "image_path")
+    private String imagePath;
+
+    @Column(name = "capture_path")
+    private String capturePath;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "rect_left", nullable = false)
+    private Double rectLeft;
+
+    @Column(name = "rect_top", nullable = false)
+    private Double rectTop;
+
+    @Column(name = "rect_right", nullable = false)
+    private Double rectRight;
+
+    @Column(name = "rect_bottom", nullable = false)
+    private Double rectBottom;
+
+    @Column(name = "camera_name", nullable = false)
+    private String cameraName;
+
+    @Column(name = "task_name", nullable = false)
+    private String taskName;
+
+    @Column(name = "group_name", nullable = false)
+    private String groupName;
+
+    @Column(name = "reason")
+    private String reason;
+
+    @Column(name = "standard_score_ex", nullable = false)
+    private Double standardScoreEx;
+
+    @Column(name = "standard_score", nullable = false)
+    private Double standardScore;
+
+    @Column(name = "result_score1", nullable = false)
+    private Double resultScore1;
+
+    @Column(name = "result_score2", nullable = false)
+    private Double resultScore2;
+
+}

+ 59 - 0
huimv-face/src/main/java/com/huimv/face/entity/VehicleAttrs.java

@@ -0,0 +1,59 @@
+package com.huimv.face.entity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.io.Serializable;
+
+@Data
+@Entity
+@Table(name = "vehicle_attrs")
+public class VehicleAttrs implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @Column(name = "plate_type")
+    private String plateType;
+
+    @Column(name = "plate_color")
+    private String plateColor;
+
+    @Column(name = "vehicle_type")
+    private String vehicleType;
+
+    @Column(name = "vehicle_color")
+    private String vehicleColor;
+
+    @Column(name = "vehicle_logo")
+    private String vehicleLogo;
+
+    @Column(name = "vehicle_sublogo")
+    private String vehicleSublogo;
+
+    @Column(name = "vehicle_model")
+    private String vehicleModel;
+
+    @Id
+    @Column(name = "id", nullable = false)
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
+    private Long id;
+
+    @Column(name = "create_time")
+    private Long createTime;
+
+    @Column(name = "background")
+    private String background;
+
+    @Column(name = "small")
+    private String small;
+
+    @Column(name = "camera_id")
+    private Integer cameraId;
+
+    @Column(name = "task_id")
+    private Integer taskId;
+
+    @Column(name = "camera_name")
+    private String cameraName;
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/AlarmRecordsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.AlarmRecords;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface AlarmRecordsRepository extends JpaRepository<AlarmRecords, Long>, JpaSpecificationExecutor<AlarmRecords> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/BetPlayerDetailModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.BetPlayerDetailModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface BetPlayerDetailModelsRepository extends JpaRepository<BetPlayerDetailModels, Void>, JpaSpecificationExecutor<BetPlayerDetailModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/BetPlayerFeatureDataRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.BetPlayerFeatureData;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface BetPlayerFeatureDataRepository extends JpaRepository<BetPlayerFeatureData, Integer>, JpaSpecificationExecutor<BetPlayerFeatureData> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/BetPlayerModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.BetPlayerModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface BetPlayerModelsRepository extends JpaRepository<BetPlayerModels, String>, JpaSpecificationExecutor<BetPlayerModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/CameraRoiModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.CameraRoiModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface CameraRoiModelsRepository extends JpaRepository<CameraRoiModels, Integer>, JpaSpecificationExecutor<CameraRoiModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/CamerasRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.Cameras;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface CamerasRepository extends JpaRepository<Cameras, Integer>, JpaSpecificationExecutor<Cameras> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/ConfigModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.ConfigModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface ConfigModelsRepository extends JpaRepository<ConfigModels, Integer>, JpaSpecificationExecutor<ConfigModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/DahuaImagesRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.DahuaImages;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface DahuaImagesRepository extends JpaRepository<DahuaImages, Long>, JpaSpecificationExecutor<DahuaImages> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/DataCleanSettingsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.DataCleanSettings;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface DataCleanSettingsRepository extends JpaRepository<DataCleanSettings, Integer>, JpaSpecificationExecutor<DataCleanSettings> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/FileIdsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.FileIds;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface FileIdsRepository extends JpaRepository<FileIds, Long>, JpaSpecificationExecutor<FileIds> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/FrequencyListModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.FrequencyListModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface FrequencyListModelsRepository extends JpaRepository<FrequencyListModels, Integer>, JpaSpecificationExecutor<FrequencyListModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/FrequencyModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.FrequencyModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface FrequencyModelsRepository extends JpaRepository<FrequencyModels, Integer>, JpaSpecificationExecutor<FrequencyModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/FrequenterContrastModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.FrequenterContrastModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface FrequenterContrastModelsRepository extends JpaRepository<FrequenterContrastModels, Integer>, JpaSpecificationExecutor<FrequenterContrastModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/FrequenterModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.FrequenterModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface FrequenterModelsRepository extends JpaRepository<FrequenterModels, Integer>, JpaSpecificationExecutor<FrequenterModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/GroupMetaModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.GroupMetaModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface GroupMetaModelsRepository extends JpaRepository<GroupMetaModels, Integer>, JpaSpecificationExecutor<GroupMetaModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/GroupsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.Groups;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface GroupsRepository extends JpaRepository<Groups, Integer>, JpaSpecificationExecutor<Groups> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/HkeyeLicenseModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.HkeyeLicenseModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface HkeyeLicenseModelsRepository extends JpaRepository<HkeyeLicenseModels, Integer>, JpaSpecificationExecutor<HkeyeLicenseModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/HumanAttrsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.HumanAttrs;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface HumanAttrsRepository extends JpaRepository<HumanAttrs, Long>, JpaSpecificationExecutor<HumanAttrs> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/JulongImagesRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.JulongImages;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface JulongImagesRepository extends JpaRepository<JulongImages, Long>, JpaSpecificationExecutor<JulongImages> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/LastIdModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.LastIdModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface LastIdModelsRepository extends JpaRepository<LastIdModels, Long>, JpaSpecificationExecutor<LastIdModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/LicenseRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.License;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface LicenseRepository extends JpaRepository<License, Integer>, JpaSpecificationExecutor<License> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/MailRecordsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.MailRecords;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface MailRecordsRepository extends JpaRepository<MailRecords, Void>, JpaSpecificationExecutor<MailRecords> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/MailSettingsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.MailSettings;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface MailSettingsRepository extends JpaRepository<MailSettings, Integer>, JpaSpecificationExecutor<MailSettings> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/PassRecordsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.PassRecords;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface PassRecordsRepository extends JpaRepository<PassRecords, Long>, JpaSpecificationExecutor<PassRecords> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/PersonnelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.Personnels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface PersonnelsRepository extends JpaRepository<Personnels, Long>, JpaSpecificationExecutor<Personnels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/PhotosRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.Photos;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface PhotosRepository extends JpaRepository<Photos, Long>, JpaSpecificationExecutor<Photos> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/RecordAttrModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.RecordAttrModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface RecordAttrModelsRepository extends JpaRepository<RecordAttrModels, Void>, JpaSpecificationExecutor<RecordAttrModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/RecordsUsageModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.RecordsUsageModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface RecordsUsageModelsRepository extends JpaRepository<RecordsUsageModels, Integer>, JpaSpecificationExecutor<RecordsUsageModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/SmartEventModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.SmartEventModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface SmartEventModelsRepository extends JpaRepository<SmartEventModels, Long>, JpaSpecificationExecutor<SmartEventModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/SmartGetUpEventModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.SmartGetUpEventModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface SmartGetUpEventModelsRepository extends JpaRepository<SmartGetUpEventModels, Integer>, JpaSpecificationExecutor<SmartGetUpEventModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/SmsTemplatesRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.SmsTemplates;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface SmsTemplatesRepository extends JpaRepository<SmsTemplates, Integer>, JpaSpecificationExecutor<SmsTemplates> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/StrangerDetailModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.StrangerDetailModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface StrangerDetailModelsRepository extends JpaRepository<StrangerDetailModels, Void>, JpaSpecificationExecutor<StrangerDetailModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/StrangerModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.StrangerModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface StrangerModelsRepository extends JpaRepository<StrangerModels, String>, JpaSpecificationExecutor<StrangerModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/SwitchModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.SwitchModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface SwitchModelsRepository extends JpaRepository<SwitchModels, Integer>, JpaSpecificationExecutor<SwitchModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/TaskGroupsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.TaskGroups;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface TaskGroupsRepository extends JpaRepository<TaskGroups, Integer>, JpaSpecificationExecutor<TaskGroups> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/TaskJoinCameraModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.TaskJoinCameraModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface TaskJoinCameraModelsRepository extends JpaRepository<TaskJoinCameraModels, Integer>, JpaSpecificationExecutor<TaskJoinCameraModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/TasksRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.Tasks;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface TasksRepository extends JpaRepository<Tasks, Integer>, JpaSpecificationExecutor<Tasks> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/ThermalModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.ThermalModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface ThermalModelsRepository extends JpaRepository<ThermalModels, Long>, JpaSpecificationExecutor<ThermalModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/TimeProsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.TimePros;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface TimeProsRepository extends JpaRepository<TimePros, Integer>, JpaSpecificationExecutor<TimePros> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/UnknownPeopleModelsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.UnknownPeopleModels;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface UnknownPeopleModelsRepository extends JpaRepository<UnknownPeopleModels, Long>, JpaSpecificationExecutor<UnknownPeopleModels> {
+
+}

+ 9 - 0
huimv-face/src/main/java/com/huimv/face/repo/VehicleAttrsRepository.java

@@ -0,0 +1,9 @@
+package com.huimv.face.repo;
+
+import com.huimv.face.entity.VehicleAttrs;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
+
+public interface VehicleAttrsRepository extends JpaRepository<VehicleAttrs, Long>, JpaSpecificationExecutor<VehicleAttrs> {
+
+}

+ 19 - 0
huimv-face/src/main/resources/application-prod.yml

@@ -0,0 +1,19 @@
+server:
+  port: 8088
+spring:
+  application:
+    name: huimv-face
+
+  #------DataSource-----
+  datasource:
+    url: jdbc:mysql://192.168.1.35:3306/security_manager?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
+    #url: jdbc:mysql://192.168.1.7:3306/huimv-admin?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
+    username: root
+    password: root
+    driver-class-name: com.mysql.cj.jdbc.Driver
+  jpa:
+    hibernate:
+      ddl-auto: update
+    database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
+    show-sql: true
+

+ 23 - 0
huimv-face/src/main/resources/application-test.yml

@@ -0,0 +1,23 @@
+server:
+  port: 8088
+spring:
+  #------DataSource-----
+  datasource:
+    primary:
+      #url: jdbc:mysql://127.0.0.1:3306/huimv-admin?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
+      url: jdbc:mysql://192.168.1.35:3306/security_manager?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
+      username: root
+      password: root
+      driver-class-name: com.mysql.cj.jdbc.Driver
+      max-active: 20
+      max-idle: 8
+      min-idle: 8
+      initial-size: 10
+  jpa:
+    database: mysql
+    show-sql: true
+  mvc:
+    view:
+      prefix: /
+      suffix: .html
+

+ 7 - 0
huimv-face/src/main/resources/application.properties

@@ -0,0 +1,7 @@
+spring.profiles.active=test
+#spring.profiles.active=prod
+
+#MCID=11
+MCID=39
+
+

+ 7 - 0
huimv-face/src/main/resources/beans.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans
+           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
+
+</beans>

+ 4 - 0
huimv-face/src/main/resources/log4j.properties

@@ -0,0 +1,4 @@
+log4j.rootLogger=INFO, stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n