package com.zhongshu.card.client.openApi.model.device;

import com.github.microservice.types.deviceUse.DeviceType;
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 com.zhongshu.card.client.model.base.SuperSearch;
import com.zhongshu.card.client.openApi.base.SuperOpenAPIParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 设备使用记录的搜索
 *
 * @author TRX
 * @date 2024/10/21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeviceUseRecordOpenApiSearch extends SuperOpenAPIParam {

    @Schema(description = "用户userId")
    private String userId;

    @Schema(description = "设备ID")
    private String deviceId;

    @Schema(description = "设备类型")
    private DeviceType deviceType;

    @Schema(description = "操作模式，卡片、人脸、密码、指纹...")
    private OperateType operateType;

    @Schema(description = "操作记录结果,成功、失败、未知")
    private OperateState operateState;

}
