package com.example.removetolocal.newentity.entity;

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

import javax.persistence.*;

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

	/**
	* urId
	*/
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "ur_id")
	private Integer urId;
	/**
	* roleId
	*/
	@Column(name = "role_id")
	private Integer roleId;
	/**
	* userId
	*/
	@Column(name = "user_id")
	private Integer userId;

}
