package incheon.ags.mrb.share.web.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serializable;

/**
 * 공유 대상 DTO
 * 개인(U) 또는 그룹(G) 공유 대상 정보
 */
@Getter
@Setter

@NoArgsConstructor
@AllArgsConstructor
@ToString
@Schema(description = "공유 대상 정보")
public class ShareTargetDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 공유 대상 타입 (U: 사용자, G: 그룹) */
    @Schema(description = "공유 대상 타입 (U: 사용자, G: 그룹)", example = "U", allowableValues = {"U", "G"})
    private String type;

    /** 공유 대상 ID (userId 또는 groupId) */
    @Schema(description = "공유 대상 ID (userId 또는 groupId)", example = "user123")
    private String id;
}
