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

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

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 产品动态 Response VO")
@Data
public class ProductActivityRespVO {

    @Schema(description = "动态类型", example = "status")
    private String type;

    @Schema(description = "动作编码", example = "pause")
    private String actionType;

    @Schema(description = "动作名称", example = "暂停")
    private String actionName;

    @Schema(description = "原状态", example = "active")
    private String fromStatus;

    @Schema(description = "目标状态", example = "paused")
    private String toStatus;

    @Schema(description = "动作原因", example = "资源不足")
    private String reason;

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

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

    @Schema(description = "操作时间", example = "2026-04-21 12:00:00")
    private LocalDateTime operateTime;

    @Schema(description = "展示摘要", example = "张三执行了【暂停】：资源不足")
    private String summary;

    @Schema(description = "补充详情")
    private String details;

}
