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

pro.taskana.monitor.rest.models.PriorityColumnHeaderRepresentationModel Maven / Gradle / Ivy

The newest version!
package pro.taskana.monitor.rest.models;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import java.beans.ConstructorProperties;
import org.springframework.hateoas.RepresentationModel;

@JsonIgnoreProperties("links")
public class PriorityColumnHeaderRepresentationModel
    extends RepresentationModel {

  @Schema(
      name = "lowerBound",
      description = "Determine the lower priority for this column header. This value is inclusive.")
  private final int lowerBound;

  @Schema(
      name = "upperBound",
      description = "Determine the upper priority for this column header. This value is inclusive.")
  private final int upperBound;

  @ConstructorProperties({"lowerBound", "upperBound"})
  public PriorityColumnHeaderRepresentationModel(int lowerBound, int upperBound) {
    this.lowerBound = lowerBound;
    this.upperBound = upperBound;
  }

  public int getLowerBound() {
    return lowerBound;
  }

  public int getUpperBound() {
    return upperBound;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy