
package com.lideeyunji.core.framework.entity;

import com.lideeyunji.tool.framework.yunji.model.global.BaseTenantEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 表单开发-租户权限-数据权限-规则（存关）
 */
@TableName("yunji_dbform_role_data_rule")
@Data
@EqualsAndHashCode
public class FormRoleDataRuleEntity extends BaseTenantEntity {


    /**
     * 表单开发id
     */
    private Long dbformId;


    /**
     * 规则名称
     */
    private String ruleName;

    /**
     * 规则类型
     */
    private String ruleType;

    /**
     * 规则字段
     */
    private String ruleField;

    /**
     * 规则条件
     */
    private String ruleCondition;

    /**
     * 规则值
     */
    private String ruleValue;

    /**
     * 规则运行sql
     */
    private String ruleSql;


}

