package com.friday.tooldriver.dto.uipath.common;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UiPathOriginResult<T extends Serializable> {
    private boolean success;
    private Integer retCode;
    private String message;
    private T object;

    public boolean success(){
        return success;
    }
}
