package cn.iocoder.yudao.server.controller.admin.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 门户流程配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class FlowRespVO {

    @Schema(description = "门户流程ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19903")
    @ExcelProperty("门户流程ID")
    private Long id;

    @Schema(description = "流程分组id", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("流程分组id")
    private Long groupId;

    @Schema(description = "分组子名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("分组子名称")
    private String flowName;

    @Schema(description = "流程跳转连接", example = "https://www.iocoder.cn")
    @ExcelProperty("流程跳转连接")
    private String flowUrl;

    @Schema(description = "流程跳转首页")
    private String indexUrl;

    @Schema(description = "状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态（0正常 1停用）")
    private Integer status;

    @Schema(description = "类型")
    private String type;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "图标")
    private String icon;

    @Schema(description = "备注", example = "你说的对")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}