package br.gov.sigefp.budget.api.dto;

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

import java.util.UUID;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EconomicClassificationDTO {
    private UUID id;
    private String code;
    private String description;
    private String type;
    private String uemoaCode;

    // Helper for displaying "Code - Description"
    public String getLabel() {
        return code + " - " + description;
    }
}
