package dev.sonpx.loyalty.mcp.model;

import com.fasterxml.jackson.annotation.JsonInclude;

import lombok.Builder;
import lombok.Data;

/**
 * Created by SonPhung on Wednesday, 25-Oct-2023
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@Builder
public class OperationResult<D> {

    private String errorCode;
    private String message;
    private D entity;
}
