2023-12-22 09:15:39 +01:00
|
|
|
package eu.eudat.file.transformer.models.descriptiontemplate.definition.fielddata;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
2024-02-01 17:16:25 +01:00
|
|
|
|
2023-12-22 09:15:39 +01:00
|
|
|
public class UploadDataFileTransformerModel extends BaseFieldDataFileTransformerModel {
|
2024-02-01 17:16:25 +01:00
|
|
|
public static class UploadDataOptionFileTransformerModel {
|
|
|
|
private String label;
|
|
|
|
private String value;
|
|
|
|
|
|
|
|
public String getLabel() {
|
|
|
|
return label;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLabel(String label) {
|
|
|
|
this.label = label;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getValue() {
|
|
|
|
return value;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setValue(String value) {
|
|
|
|
this.value = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
private List<UploadDataOptionFileTransformerModel> types;
|
2023-12-22 09:15:39 +01:00
|
|
|
|
2024-02-01 17:16:25 +01:00
|
|
|
private Integer maxFileSizeInMB;
|
|
|
|
|
|
|
|
|
|
|
|
public List<UploadDataOptionFileTransformerModel> getTypes() {
|
2023-12-22 09:15:39 +01:00
|
|
|
return types;
|
|
|
|
}
|
|
|
|
|
2024-02-01 17:16:25 +01:00
|
|
|
public void setTypes(List<UploadDataOptionFileTransformerModel> types) {
|
2023-12-22 09:15:39 +01:00
|
|
|
this.types = types;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Integer getMaxFileSizeInMB() {
|
|
|
|
return maxFileSizeInMB;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setMaxFileSizeInMB(Integer maxFileSizeInMB) {
|
|
|
|
this.maxFileSizeInMB = maxFileSizeInMB;
|
|
|
|
}
|
|
|
|
}
|