package de.effigenix.application.usermanagement.command;

import de.effigenix.domain.usermanagement.RoleName;

import java.util.Set;

/**
 * Command for creating a new user.
 */
public record CreateUserCommand(
        String username,
        String email,
        String password,  // plain-text, will be hashed
        Set<RoleName> roleNames,
        String branchId  // optional, null for admin users
) {
}
