package com.yimeng.okr.dto;

import com.yimeng.okr.entity.PerformanceScore;
import com.yimeng.okr.entity.PerformanceScoreItem;
import com.yimeng.okr.entity.PerformanceFeedback;
import lombok.Data;

import java.util.List;

@Data
public class ScoringDto {
    private PeriodInfo period;
    private UserInfo targetUser;
    private List<OkrDetailDto> okrRecords;
    private PerformanceScore selfScore;
    private PerformanceScore superiorScore;
    private PerformanceScore finalScore;
    private PerformanceFeedback feedback;
    private List<PerformanceScoreItem> selfItems;
    private List<PerformanceScoreItem> superiorItems;
    private List<PerformanceScoreItem> finalItems;

    @Data
    public static class PeriodInfo {
        private Long id;
        private String name;
        private String startDate;
        private String endDate;
        private String status;
    }
}
