package com.yhy.module.core.controller.admin.workbench.vo.audit;

import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import java.util.Map;
import lombok.Data;

/**
 * 审核模式 Response VO
 */
@Schema(description = "工作台 - 审核模式 Response VO")
@Data
public class AuditModeRespVO {

    @Schema(description = "审核模式ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long projectId;

    @Schema(description = "审核模式名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "第一次送审")
    private String name;

    @Schema(description = "状态：draft/submitted/approved", example = "draft")
    private String status;

    @Schema(description = "送审时间")
    private LocalDateTime submitTime;

    @Schema(description = "审定时间")
    private LocalDateTime approveTime;

    @Schema(description = "扩展属性")
    private Map<String, Object> attributes;

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

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