package com.eactive.eai.manage.inflow;

import java.util.List;

/**
 * 어댑터/인터페이스/클라이언트 버킷 상태 DTO.
 * {@link GroupBucketStatusDTO}와 동일한 BucketInfo 구조를 공유한다.
 */
public class TargetBucketStatusDTO {

    private String targetId;    // 어댑터명 | 인터페이스ID | 클라이언트ID
    private String targetType;  // "ADAPTER" | "INTERFACE" | "CLIENT"
    private boolean activate;
    private List<GroupBucketStatusDTO.BucketInfo> buckets;

    public String getTargetId() { return targetId; }
    public void setTargetId(String targetId) { this.targetId = targetId; }

    public String getTargetType() { return targetType; }
    public void setTargetType(String targetType) { this.targetType = targetType; }

    public boolean isActivate() { return activate; }
    public void setActivate(boolean activate) { this.activate = activate; }

    public List<GroupBucketStatusDTO.BucketInfo> getBuckets() { return buckets; }
    public void setBuckets(List<GroupBucketStatusDTO.BucketInfo> buckets) { this.buckets = buckets; }
}
