|
|
@@ -1,7 +1,7 @@
|
|
|
package com.github.microservice.models.gateDoor.use;
|
|
|
|
|
|
-import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
-import com.github.microservice.models.hxz.IotSuperModel;
|
|
|
+import com.github.microservice.types.deviceUse.OperateState;
|
|
|
+import com.github.microservice.types.deviceUse.OperateType;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import lombok.Data;
|
|
|
@@ -18,29 +18,38 @@ import java.io.Serializable;
|
|
|
@Data
|
|
|
@AllArgsConstructor
|
|
|
@NoArgsConstructor
|
|
|
-public class GateDoorUseParam extends IotSuperModel implements Serializable {
|
|
|
+public class GateDoorUseParam implements Serializable {
|
|
|
|
|
|
- @Schema(description = "")
|
|
|
- private GateDoorInfoParam info;
|
|
|
+ @Schema(description = "操作模式,卡片、人脸、密码、指纹...")
|
|
|
+ private OperateType operateType;
|
|
|
|
|
|
+ @Schema(description = "操作记录结果")
|
|
|
+ private OperateState operateState;
|
|
|
|
|
|
+ @Schema(description = "网关ID")
|
|
|
+ private String gateWayId;
|
|
|
|
|
|
- @Schema(description = "10进制卡序列号(实体卡号或虚拟卡号)")
|
|
|
- @JsonProperty("CardNo")
|
|
|
- private String CardNo;
|
|
|
+ @Schema(description = "设备ID")
|
|
|
+ private String deviceId;
|
|
|
+
|
|
|
+ @Schema(description = "消息数据ID")
|
|
|
+ private String mqttDataId;
|
|
|
|
|
|
- @Schema(description = "开门模式(0:刷卡 1:人脸认证 2:指纹 3:密码)")
|
|
|
- @JsonProperty("Mode")
|
|
|
- private Integer Mode;
|
|
|
+ @Schema(description = "10进制卡序列号(实体卡号或虚拟卡号)")
|
|
|
+ private String cardNo;
|
|
|
|
|
|
@Schema(description = "用户userId")
|
|
|
- @JsonProperty("UserId")
|
|
|
- private String UserId;
|
|
|
+ private String userId;
|
|
|
|
|
|
@Schema(description = "使用时间 2024-09-12 20:40:00")
|
|
|
- @JsonProperty("Time")
|
|
|
private String time;
|
|
|
|
|
|
@Schema(description = "使用是否验证通过")
|
|
|
private Boolean isPassed = Boolean.TRUE;
|
|
|
+
|
|
|
+ @Schema(description = "是否离线使用")
|
|
|
+ private Boolean isOffLine = Boolean.FALSE;
|
|
|
+
|
|
|
+ @Schema(description = "关联的数据")
|
|
|
+ private Object data;
|
|
|
}
|