package com.zcloud.domain.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:29:42
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DomainGroupUserAddCmd implements Serializable {
    @ApiModelProperty(value = "领域组id", name = "domainGroupId", required = true)
    private String domainGroupId;

    @ApiModelProperty(value = "部门id", name = "departmentId", required = true)
    @NotNull(message = "部门id不能为空")
    private Long departmentId;

    @ApiModelProperty(value = "人员id", name = "userId", required = true)
    @NotNull(message = "人员id不能为空")
    private Long userId;

}

