package com.ibtp.kontor.library.entity;

import javax.persistence.*;

/**
 * Created by TPEETZ on 23.01.2015.
 */
@Entity
@Table(name = "TITLE")
public class TitleEntity {

    private Long id;

    private String title;

    @Id
    @GeneratedValue(strategy= GenerationType.AUTO)
    public Long getId() { return id; }

    @SuppressWarnings("unused")
    private void setId(Long id) { this.id = id; }

    @Column
    public String getTitle() { return title; }

    public void setTitle(String title) { this.title = title; }
}
