|
|
@@ -2,6 +2,8 @@ package com.github.microservice.models.gateDoor.use;
|
|
|
|
|
|
import com.github.microservice.types.deviceUse.OperateState;
|
|
|
import com.github.microservice.types.deviceUse.OperateType;
|
|
|
+import com.github.microservice.types.user.DevicePermissFromType;
|
|
|
+import com.github.microservice.types.user.UserFromType;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import lombok.Data;
|
|
|
@@ -41,6 +43,12 @@ public class GateDoorUseParam implements Serializable {
|
|
|
@Schema(description = "人脸信息")
|
|
|
private String pic = "";
|
|
|
|
|
|
+ @Schema(description = "权限来自哪里")
|
|
|
+ private DevicePermissFromType permissFromType = DevicePermissFromType.SystemConfig;
|
|
|
+
|
|
|
+ @Schema(description = "用户类型")
|
|
|
+ private UserFromType userFromType = UserFromType.SystemUser;
|
|
|
+
|
|
|
@Schema(description = "用户userId")
|
|
|
private String userId;
|
|
|
|
|
|
@@ -67,4 +75,7 @@ public class GateDoorUseParam implements Serializable {
|
|
|
|
|
|
@Schema(description = "耗时,毫秒")
|
|
|
private Long useTime;
|
|
|
+
|
|
|
+ @Schema(description = "项目id")
|
|
|
+ private String projectOid;
|
|
|
}
|