mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
35 lines
639 B
Java
35 lines
639 B
Java
package com.avaje.tests.compositekeys.db;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Id;
|
|
|
|
@Entity
|
|
public class Parcel
|
|
{
|
|
@Id
|
|
@Column(name="parcelId")
|
|
private Long parcelId;
|
|
|
|
private String description;
|
|
|
|
public Long getParcelId()
|
|
{
|
|
return parcelId;
|
|
}
|
|
|
|
public void setParcelId(Long parcelId)
|
|
{
|
|
this.parcelId = parcelId;
|
|
}
|
|
|
|
public String getDescription()
|
|
{
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description)
|
|
{
|
|
this.description = description;
|
|
}
|
|
} |