package cn.sikey.mcdisk.controller.app.familycloud.vo;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 删除家庭云成员
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DelFamilyCloudMemberReqVO {
    private List<FamilyMember> memberList;

    @Data
    @Accessors(chain = true)
    public static class FamilyMember {
        /**
         * 手机号
         */
        private String phoneNumber;
        /**
         * 用户Id
         */
        private String userId;
    }

    /**
     * ticket
     */
    @NotBlank(message = "ticket是空")
    private String ticket;

    /**
     * isAdmin
     */
    private Integer isAdmin;


}
