package org.eclipse.persistence.testing.models.jpa.cascadedeletes;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class ThreadInfo {

    @Id
    private long id;
    private String name;

    public ThreadInfo() {}
    
    public ThreadInfo(long id, String name){
        this.id = id;
        this.name = name;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
