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

import com.github.microservice.models.type.DeviceType;
import com.zhongshu.card.client.type.Sex;
import com.zhongshu.card.client.type.device.PermissSettingDeviceType;
import com.zhongshu.card.client.type.device.PermissSettingType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author TRX
 * @date 2024/12/19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PermissSettingConfigParam {

    @Schema(description = "数据ID")
    private String id;

    @Schema(description = "设备配置类型")
    private PermissSettingType permissSettingType;

    @Schema(description = "性别")
    private List<Sex> sex;

    @Schema(description = "关联配置的数据id，如：角色id集合")
    private List<String> dataIds = new ArrayList<>();

    @Schema(description = "设备类型--分组、设备、区域、类型")
    private PermissSettingDeviceType permissSettingDeviceType;

    @Schema(description = "设备类型")
    private List<DeviceType> deviceTypes = new ArrayList<>();

    @Schema(description = "设备列表")
    private List<String> deviceIds = new ArrayList<>();

}
