org.damap.base.rest.dmp.domain.CostDO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of base Show documentation
Show all versions of base Show documentation
A tool for machine actionable DMPs.
package org.damap.base.rest.dmp.domain;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import jakarta.validation.constraints.Size;
import lombok.Data;
import org.damap.base.enums.ECostType;
/** CostDO class. */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class CostDO {
private Long id;
@Size(max = 255)
private String title;
private Float value;
@Size(max = 255)
private String currencyCode; // controlled vocabulary: ISO 4217
@Size(max = 4000)
private String description;
private ECostType type;
@Size(max = 255)
private String customType;
}