package com.example.removetolocal.newentity.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * entity class for role_permissions
*/
@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "role_permissions")
public class RolePermissions {

	/**
	* rpId
	*/
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "rp_id")
	private Integer rpId;
	/**
	* permissionsId
	*/
	@Column(name = "permissions_id")
	private Integer permissionsId;
	/**
	* roleId
	*/
	@Column(name = "role_id")
	private Integer roleId;

}
