package com.kamco.cd.kamcoback.common.enums;

import lombok.EqualsAndHashCode;
import lombok.Getter;

public class ApiConfigEnum {

  @Getter
  @EqualsAndHashCode(of = "enumValue")
  public static class EnumDto<T> {

    private final T enumValue;
    private final String id;
    private final String text;

    public EnumDto(T enumValue, String id, String text) {
      this.enumValue = enumValue;
      this.id = id;
      this.text = text;
    }
  }
}
