All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ligoj.bootstrap.resource.system.user.SystemUserEditionVo Maven / Gradle / Ivy

There is a newer version: 3.1.22
Show newest version
/*
 * Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE)
 */
package org.ligoj.bootstrap.resource.system.user;

import jakarta.validation.constraints.Pattern;
import lombok.Getter;
import lombok.Setter;

import java.util.HashSet;
import java.util.Set;

/**
 * Corporate user for edition.
 */
@Getter
@Setter
public class SystemUserEditionVo extends AbstractSystemUserVo {

	/**
	 * Roles identifiers
	 */
	private Set roles = new HashSet<>();

	/**
	 * When defined, an API token is created with this name.
	 */
	@Pattern(regexp = "[\\w.-]+")
	private String apiToken;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy