package fi.otavanopisto.muikku.model.security;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class ResourceRights {
/**
* Returns internal unique id
*
* @return Internal unique id
*/
public Long getId() {
return id;
}
@Id
@GeneratedValue (strategy = GenerationType.IDENTITY)
private Long id;
}