package com.qqchen.deploy.backend.workflow.dto;

import com.qqchen.deploy.backend.framework.dto.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 表单分类DTO
 *
 * @author qqchen
 * @date 2025-10-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "表单分类DTO")
public class FormCategoryDTO extends BaseDTO {

    /**
     * 分类名称
     */
    @Schema(description = "分类名称", example = "审批表单")
    private String name;

    /**
     * 分类编码
     */
    @Schema(description = "分类编码", example = "APPROVAL")
    private String code;

    /**
     * 分类描述
     */
    @Schema(description = "分类描述", example = "用于审批流程的表单")
    private String description;

    /**
     * 图标
     */
    @Schema(description = "图标", example = "CheckCircleOutlined")
    private String icon;

    /**
     * 排序
     */
    @Schema(description = "排序", example = "1")
    private Integer sort;

    /**
     * 是否启用
     */
    @Schema(description = "是否启用", example = "true")
    private Boolean enabled;
}

