package cn.axzo.workflow.core.repository.entity;

import cn.axzo.framework.data.mybatisplus.model.BaseEntity;
import cn.axzo.workflow.common.enums.VarTypeEnum;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@EqualsAndHashCode(callSuper = true)
@TableName(value = "ext_ax_dict_group_variable", autoResultMap = true)
@Data
@ToString(callSuper = true)
public class ExtAxDictGroupVariable extends BaseEntity<ExtAxDictGroupVariable> {

    private static final long serialVersionUID = 2910796107844751820L;

    /**
     * 字典id
     */
    private Long dictId;

    /**
     * 分组id
     */
    private Long groupId;

    /**
     * 变量类型，文本/图片
     */
    private VarTypeEnum type;

    /**
     * 变量code
     */
    private String code;

    /**
     * 变量名称
     */
    private String name;

    /**
     * 顺序
     */
    private Integer ordinal;
}
