package com.ssyf.module.auth.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 *
 * @author huwei
 * @date 2023/12/1 14:54
 */
@Data
@Accessors(chain = true)
public class UserPermissionRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户编码
     */
    private String userUid;

    /**
     * 菜单编码
     */
    private String permissionUid;

    /**
     * 权限
     */
    private String permission;

    /**
     * 角色id
     */
    private String roleUid;

}