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

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.models.security.SecurityScheme;
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 a drools syntax error message, its line, and its column.")
public class RuleSyntaxErrorMessage {

    @Schema(description = "The Line where the error occurred.")
    Integer line;
    @Schema(description = "The Column where the error occurred.")
    Integer column;
    @Schema(description = "The error message.")
    String message;
}
