package com.usky.sas.service.dto.agbox;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.List;

/**
 * AG 接口 getDeviceChannelList 响应
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class AgboxChannelListVo {

    private AgboxChannelResult result;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class AgboxChannelResult {
        /** 通道列表 */
        private List<AgboxChannelInfo> channelList;
    }

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class AgboxChannelInfo {
        private String deviceId;
        private Integer channel;
        /** 通道地址（如 IP） */
        private String addr;
        private String placeName;
    }
}
