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 java.io.Serializable;


@Data
@TableName("nest_user_role")
@ApiModel(value = "RoleUser对象", description = "RoleUser对象")
public class RoleUser implements Serializable {

    private static final long serialVersionUID = 1L;



    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;




    @ApiModelProperty(value = "角色ID")
    private Long userId;


    @ApiModelProperty(value = "园区ID")
    private Long roleId;



}
