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

import com.github.microservice.models.type.DeviceType;
import com.zhongshu.card.client.model.base.SuperSearch;
import com.zhongshu.card.client.type.OnLineState;
import com.zhongshu.card.client.type.PaymentModeType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author TRX
 * @date 2024/7/2
 */
@Data
public class DeviceBindSearch extends SuperSearch {

    @Schema(description = "关键字搜索")
    private String keyWord;

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

    @Schema(description = "设备名称")
    private String deviceName;

    @Schema(description = "设备类型，如 消费机 门禁机")
    private DeviceType deviceType;

    @Schema(description = "是否在线")
    private OnLineState onLineState;

    @Schema(description = "关联的项目code")
    private String projectInfoCode;

    @Schema(description = "学校信息Oid")
    private String schoolInfoOid;

    @Schema(description = "商户Oid")
    private String shopInfoOid;

    @Schema(description = "商户id集合")
    private List<String> shopInfoOids;

    @Schema(description = "区域信息")
    private String areaId;

    @Schema(description = "付费模式")
    private PaymentModeType paymentModeType;

    @Schema(description = "收款账号")
    private String receivingAccount;

    @Schema(description = "是否查询所有的商户")
    private Boolean isAllBusinessMain = Boolean.TRUE;
}
