package cn.iocoder.yudao.module.member.controller.admin.group.vo;

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

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author zt
 * @description <description class purpose>
 * @since 2024/6/27
 */
@Data
public class MemberGroupVO {

    @Schema(description = "小组ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "小组ID不能为空")
    private Long groupId;

    @Schema(description = "小组ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @Size(min = 1, message = "至少添加一个会员")
    private List<Long> userId;

}
