package webctdbexport.db;
// Generated 17-Jun-2011 11:38:57 by Hibernate Tools 3.4.0.CR1
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Embeddable;
/**
* RptPhoneId generated by hbm2java
*/
@Embeddable
public class RptPhoneId implements java.io.Serializable {
private BigDecimal phoneId;
private BigDecimal personId;
private String phoneType;
private String phoneNumber;
public RptPhoneId() {
}
public RptPhoneId(BigDecimal phoneId, BigDecimal personId, String phoneType, String phoneNumber) {
this.phoneId = phoneId;
this.personId = personId;
this.phoneType = phoneType;
this.phoneNumber = phoneNumber;
}
@Column(name="PHONE_ID", nullable=false, precision=20, scale=0)
public BigDecimal getPhoneId() {
return this.phoneId;
}
public void setPhoneId(BigDecimal phoneId) {
this.phoneId = phoneId;
}
@Column(name="PERSON_ID", nullable=false, precision=20, scale=0)
public BigDecimal getPersonId() {
return this.personId;
}
public void setPersonId(BigDecimal personId) {
this.personId = personId;
}
@Column(name="PHONE_TYPE", nullable=false, length=90)
public String getPhoneType() {
return this.phoneType;
}
public void setPhoneType(String phoneType) {
this.phoneType = phoneType;
}
@Column(name="PHONE_NUMBER", nullable=false, length=128)
public String getPhoneNumber() {
return this.phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
}