package com.yimeng.okr.dto.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.util.List;

@Data
public class SaveOkrDraftRequest {
    @NotNull private Long periodId;
    private String title;
    private List<KrInput> keyResults;
    private Long version;

    @Data
    public static class KrInput {
        private String title;
        private Double targetValue;
        private Integer weight;
        private Long assignedTo;
        private Long sourceKrId;
    }
}
