39 lines
745 B
Java
39 lines
745 B
Java
package eu.eudat.model.publicapi.funder;
|
|
|
|
import eu.eudat.data.old.Funder;
|
|
|
|
import java.util.UUID;
|
|
|
|
public class FunderPublicOverviewModel {
|
|
private UUID id;
|
|
private String label;
|
|
|
|
public UUID getId() {
|
|
return id;
|
|
}
|
|
public void setId(UUID id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getLabel() {
|
|
return label;
|
|
}
|
|
public void setLabel(String label) {
|
|
this.label = label;
|
|
}
|
|
|
|
public FunderPublicOverviewModel fromDataModel(Funder entity) {
|
|
this.id = entity.getId();
|
|
this.label = entity.getLabel();
|
|
return this;
|
|
}
|
|
|
|
public Funder toDataModel() throws Exception {
|
|
return null;
|
|
}
|
|
|
|
public String getHint() {
|
|
return null;
|
|
}
|
|
}
|