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

generator.server.springboot.webflux.web.main.FieldErrorDTO.mustache Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
package {{packageName}}.shared.error.infrastructure.primary;

import java.io.Serial;
import java.io.Serializable;

public class FieldErrorDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  private final String objectName;

  private final String field;

  private final String message;

  public FieldErrorDTO(String dto, String field, String message) {
    this.objectName = dto;
    this.field = field;
    this.message = message;
  }

  public String getObjectName() {
    return objectName;
  }

  public String getField() {
    return field;
  }

  public String getMessage() {
    return message;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy