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

import com.friday.tooldriver.constants.uipath.OrderByEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderByEntity implements Serializable {
    private String key;
    private OrderByEnum orderBy;

    @Override
    public String toString() {
        return this.key + " " + orderBy.toString();
    }
}