57 lines
1.1 KiB
Java
57 lines
1.1 KiB
Java
package org.opencdmp.commons.types.dmp.importexport;
|
|
|
|
import jakarta.xml.bind.annotation.XmlAccessType;
|
|
import jakarta.xml.bind.annotation.XmlAccessorType;
|
|
import jakarta.xml.bind.annotation.XmlElement;
|
|
import org.opencdmp.commons.enums.DmpUserRole;
|
|
|
|
import java.util.UUID;
|
|
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
public class DmpUserImportExport {
|
|
|
|
@XmlElement(name = "id")
|
|
private UUID id;
|
|
|
|
@XmlElement(name = "name")
|
|
private String name;
|
|
|
|
@XmlElement(name = "role")
|
|
private DmpUserRole role;
|
|
|
|
@XmlElement(name = "sectionId")
|
|
private UUID sectionId;
|
|
|
|
public UUID getId() {
|
|
return this.id;
|
|
}
|
|
|
|
public void setId(UUID id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public DmpUserRole getRole() {
|
|
return this.role;
|
|
}
|
|
|
|
public void setRole(DmpUserRole role) {
|
|
this.role = role;
|
|
}
|
|
|
|
public UUID getSectionId() {
|
|
return this.sectionId;
|
|
}
|
|
|
|
public void setSectionId(UUID sectionId) {
|
|
this.sectionId = sectionId;
|
|
}
|
|
}
|