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

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

import java.util.List;
import java.util.UUID;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalaryStructureFullDTO {
    private List<CategoryGroupDTO> categories;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class CategoryGroupDTO {
        private UUID id;
        private String code;
        private String name;
        private String regimeName;
        private List<GradeRowDTO> grades;
    }

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class GradeRowDTO {
        private UUID id;
        private String code;
        private String name;
        private List<StepDetailDTO> steps;
    }

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class StepDetailDTO {
        private UUID id;
        private Integer stepNumber;
        private Double currentValue;
        private Double subsidyAmount;
        private Double grossAmount;
    }
}
