package com.njcn.rdms.module.project.controller.admin.performance.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 绩效模板 Response VO")
@Data
public class PerformanceTemplateRespVO {

    @Schema(description = "模板 ID", example = "1024")
    private Long id;

    @Schema(description = "模板名称", example = "2026绩效模板")
    private String templateName;

    @Schema(description = "文件 ID", example = "1024")
    private Long fileId;

    @Schema(description = "原文件名", example = "绩效模板.xlsx")
    private String fileName;

    @Schema(description = "版本号", example = "1")
    private Integer versionNo;

    @Schema(description = "是否当前生效", example = "true")
    private Boolean activeFlag;

    @Schema(description = "上传人 ID", example = "1001")
    private Long uploadUserId;

    @Schema(description = "上传人名称", example = "张三")
    private String uploadUserName;

    @Schema(description = "上传时间")
    private LocalDateTime uploadTime;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "分数单元格映射")
    private PerformanceScoreCellMappingRespVO scoreCellMapping;
}
