package com.njcn.rdms.module.project.controller.admin.product.vo.requirement;

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

import java.time.LocalDateTime;

/**
 * 管理后台 - 产品需求概览最近变化 Response VO
 */
@Schema(description = "管理后台 - 产品需求概览最近变化 Response VO")
@Data
public class ProductRequirementDashboardRecentChangeRespVO {

    @Schema(description = "前端列表唯一键", requiredMode = Schema.RequiredMode.REQUIRED, example = "requirement:create:2048")
    private String id;

    @Schema(description = "产品需求ID", example = "1003")
    private Long requirementId;

    @Schema(description = "需求标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "补充对象首页需求池统计接口")
    private String title;

    @Schema(description = "动作类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "create")
    private String actionType;

    @Schema(description = "动作名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "需求新增")
    private String actionLabel;

    @Schema(description = "展示内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "当前状态：待评审")
    private String content;

    @Schema(description = "发生时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime occurredAt;

    @Schema(description = "操作人用户ID", example = "1024")
    private Long operatorUserId;

    @Schema(description = "操作人名称快照", example = "张三")
    private String operatorName;

}
