package com.dcs.hnyz.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.dcs.common.annotation.Excel;
import com.dcs.common.core.domain.BaseEntity;


/**
 * 流程管理2.0对象 flow
 *
 * @author hmy
 * @date 2025-04-27
 */
@Data
@TableName("flow")
@ApiModel(value = "Flow", description = "流程管理对象")
public class Flow extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 流程id
     */
    @TableId("flow_id")
    @ApiModelProperty(value = "流程id")
    private Long flowId;
    /**
     * 流程名称
     */
    @Excel(name = "流程名称")
    @ApiModelProperty(value = "流程名称")
    private String flowName;
    /**
     * 流程顺序
     */
    @Excel(name = "流程顺序")
    @ApiModelProperty(value = "流程顺序")
    private Integer sort;

    /**
     * 流程类型 1普通流程 2组态页面流程
     */
    @Excel(name = "流程类型")
    @ApiModelProperty(value = "流程类型:1普通流程 2组态页面流程")
    private String flowType;
    /**
     * 启用状态（0-启用,1-禁用）
     */
    @Excel(name = "启用状态", readConverterExp = "0-启用,1-禁用")
    @ApiModelProperty(value = "启用状态（0-启用,1-禁用）")
    private String status;
    /**
     * 删除标志（0-存在，2-删除）
     */
    @TableLogic
    @ApiModelProperty(value = "删除标志（0-存在，2-删除）")
    private String delFlag;

}
