mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
23 lines
459 B
Java
23 lines
459 B
Java
package org.tests.model.onetoone;
|
|
|
|
import org.tests.model.basic.BasicDomain;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
|
|
@Entity
|
|
public class OCompany extends BasicDomain {
|
|
private static final long serialVersionUID = 6733591692223352686L;
|
|
|
|
@Column(length = 50, unique = true)
|
|
public String corpId;
|
|
|
|
public String getCorpId() {
|
|
return corpId;
|
|
}
|
|
|
|
public void setCorpId(String corpId) {
|
|
this.corpId = corpId;
|
|
}
|
|
}
|