package com.example.removetolocal.newentity.entity;

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

import javax.persistence.*;

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

	/**
	* permissionsId
	*/
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "permissions_id")
	private Integer permissionsId;
	/**
	* permissionsDes
	*/
	@Column(name = "permissions_des")
	private String permissionsDes;
	/**
	* type
	*/
	@Column(name = "type")
	private Integer type;
	/**
	* url
	*/
	@Column(name = "url")
	private String url;

}
