All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.damap.base.rest.dmp.domain.CostDO Maven / Gradle / Ivy

There is a newer version: 4.3.0
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy