package com.iqser.red.service.persistence.service.v1.api.shared.model.dossiertemplate;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldDefaults;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Schema(description = "Object containing an error message when parsing a date format pattern")
public class DateFormatPatternErrorMessage {

    @Schema(description = "The Line where the error occurred.")
    Integer line;
    @Schema(description = "The faulty date format pattern.")
    String pattern;
    @Schema(description = "The error message.")
    String message;

}
