package com.yuchen.saas.manage.system.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 权限功能关联表
 * </p>
 *
 * @author linyb
 * @since 2023-09-22
 */
@Data
@Accessors(chain = true)
@TableName("nest_role_feature")
@ApiModel(value="NestRoleFeature对象", description="角色菜单关联表")
public class NestRoleFeature   {
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 功能id
     */
    @ApiModelProperty(name = "featureId", value = "功能id")
    private Long featureId;
    /**
     * 角色id
     */
    @ApiModelProperty(name = "roleId", value = "角色id")
    private Long roleId;



}
