
package com.lideeyunji.core.framework.entity;

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

/**
 * 表单开发-租户权限-按钮权限（存关）
 */
@TableName("yunji_dbform_role_button")
@Data
@EqualsAndHashCode
public class FormRoleButtonEntity extends BaseTenantEntity {


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

    /**
     * 字段
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String buttonCode;

    /**
     * 启用状态：存 关N
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String enableState;
}

