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

import com.njcn.rdms.module.project.dal.dataobject.attachment.AttachmentItem;
import com.njcn.rdms.module.project.dal.dataobject.review.RequirementReviewAttendeeItem;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 需求评审 Response VO")
@Data
public class RequirementReviewRespVO {

    @Schema(description = "评审记录编号", example = "1024")
    private Long id;

    @Schema(description = "对象类型", example = "product_requirement")
    private String objectType;

    @Schema(description = "需求编号", example = "4096")
    private Long requirementId;

    @Schema(description = "评审操作人编号", example = "1001")
    private Long operatorId;

    @Schema(description = "评审结论：0 通过，1 不通过", example = "1")
    private Integer conclusion;

    @Schema(description = "评审内容，支持富文本")
    private String reviewContent;

    @Schema(description = "需求预估工时", example = "16.5")
    private BigDecimal requirementEstimatedHours;

    @Schema(description = "参会人列表")
    private List<RequirementReviewAttendeeItem> attendees;

    @Schema(description = "会议资料附件")
    private List<AttachmentItem> attachments;

    @Schema(description = "实际评审日期", example = "2026-05-20")
    private LocalDate reviewTime;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
