package com.zhongshu.card.client.model.devices;

import com.github.microservice.models.type.DeviceType;
import com.github.microservice.types.deviceUse.OperateState;
import com.github.microservice.types.deviceUse.OperateType;
import com.zhongshu.card.client.model.base.SuperSearch;
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 DeviceUseRecordSearch extends SuperSearch {

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

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

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

    @Schema(description = "操作记录结果")
    private OperateState operateState;

    @Schema(description = "网关ID")
    private String gateWayId;

    @Schema(description = "设备所属机构oid")
    private String beLongOid;

    @Schema(description = "10进制卡序列号（实体卡号或虚拟卡号）")
    private String cardNo;

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

}
