package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.iformall.domain.po.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@TableName(value = "mall_role_permission")
@Data
@EqualsAndHashCode(callSuper = true)
public class MallRolePermission extends BaseEntity {
	private static final long serialVersionUID = 1L;
	
    protected Long id;

    @TableField(exist = false)
	protected List<Long> permissionIds;

	@io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId")
	private String tenantId;
    @io.swagger.annotations.ApiModelProperty(value="角色ID",name="roleId")
    private Long roleId;
	@io.swagger.annotations.ApiModelProperty(value="权限ID",name="permissionId")
	private Long permissionId;

}
