io.mosip.pmp.partner.entity.PartnerContact Maven / Gradle / Ivy
package io.mosip.pmp.partner.entity;
import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;
import java.time.LocalDateTime;
/**
* The persistent class for the partner_contact database table.
*
*/
@Entity
@Table(name="partner_contact")
@NamedQuery(name="PartnerContact.findAll", query="SELECT p FROM PartnerContact p")
public class PartnerContact implements Serializable {
private static final long serialVersionUID = 1L;
@Id
private String id;
private String address;
@Column(name="contact_no")
private String contactNo;
@Column(name="cr_by")
private String crBy;
@Column(name="cr_dtimes")
private LocalDateTime crDtimes;
@Column(name="del_dtimes")
private Timestamp delDtimes;
@Column(name="email_id")
private String emailId;
@Column(name="is_active")
private Boolean isActive;
@Column(name="is_deleted")
private Boolean isDeleted;
@Column(name="upd_by")
private String updBy;
@Column(name="upd_dtimes")
private LocalDateTime updDtimes;
//bi-directional many-to-one association to Partner
@ManyToOne
private Partner partner;
public PartnerContact() {
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public String getContactNo() {
return this.contactNo;
}
public void setContactNo(String contactNo) {
this.contactNo = contactNo;
}
public String getCrBy() {
return this.crBy;
}
public void setCrBy(String crBy) {
this.crBy = crBy;
}
public LocalDateTime getCrDtimes() {
return this.crDtimes;
}
public void setCrDtimes(LocalDateTime crDtimes) {
this.crDtimes = crDtimes;
}
public Timestamp getDelDtimes() {
return this.delDtimes;
}
public void setDelDtimes(Timestamp delDtimes) {
this.delDtimes = delDtimes;
}
public String getEmailId() {
return this.emailId;
}
public void setEmailId(String emailId) {
this.emailId = emailId;
}
public Boolean getIsActive() {
return this.isActive;
}
public void setIsActive(Boolean isActive) {
this.isActive = isActive;
}
public Boolean getIsDeleted() {
return this.isDeleted;
}
public void setIsDeleted(Boolean isDeleted) {
this.isDeleted = isDeleted;
}
public String getUpdBy() {
return this.updBy;
}
public void setUpdBy(String updBy) {
this.updBy = updBy;
}
public LocalDateTime getUpdDtimes() {
return this.updDtimes;
}
public void setUpdDtimes(LocalDateTime updDtimes) {
this.updDtimes = updDtimes;
}
public Partner getPartner() {
return this.partner;
}
public void setPartner(Partner partner) {
this.partner = partner;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy