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

import com.zhongshu.card.client.model.base.SuperParam;
import com.zhongshu.card.client.type.DataState;
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 PermissSettingParam extends SuperParam {

    @Schema(description = "名称")
    private String name;

    @Schema(description = "关联的时间段")
    private String timeSlotId;

    @Schema(description = "关联的数据集合")
    private List<PermissSettingConfigParam> list = new ArrayList<>();

    @Schema(description = "数据状态")
    private DataState state;

}
