44 lines
937 B
Java
44 lines
937 B
Java
package eu.eudat.model.persist.referencetypedefinition;
|
|
|
|
|
|
import jakarta.validation.constraints.NotEmpty;
|
|
import jakarta.validation.constraints.NotNull;
|
|
|
|
public class DependencyPropertyPersist {
|
|
|
|
@NotNull(message = "{validation.empty}")
|
|
@NotEmpty(message = "{validation.empty}")
|
|
private String code;
|
|
|
|
@NotNull(message = "{validation.empty}")
|
|
@NotEmpty(message = "{validation.empty}")
|
|
private String target;
|
|
|
|
@NotNull(message = "{validation.empty}")
|
|
private Boolean required;
|
|
|
|
public String getCode() {
|
|
return code;
|
|
}
|
|
|
|
public void setCode(String code) {
|
|
this.code = code;
|
|
}
|
|
|
|
public String getTarget() {
|
|
return target;
|
|
}
|
|
|
|
public void setTarget(String target) {
|
|
this.target = target;
|
|
}
|
|
|
|
public Boolean getRequired() {
|
|
return required;
|
|
}
|
|
|
|
public void setRequired(Boolean required) {
|
|
this.required = required;
|
|
}
|
|
}
|