/VendorUpdates.java Secret
Created
May 13, 2015 13:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Entity | |
@Table(name = "VendorUpdates") | |
@Updates(tableName = "VendorUpdates", originalTableName = "Vendor") | |
public class VendorUpdates { | |
@Id | |
private Long id; | |
@IdFor(entityClass = Vendor.class, columns = "vendorId", columnsInOriginal = "id") | |
@Column | |
private Long vendorId; | |
@Event(column = "eventType") | |
@Column | |
private Integer eventType; | |
public Long getId() { | |
return id; | |
} | |
public void setId(Long id) { | |
this.id = id; | |
} | |
public Long getVendorId() { | |
return vendorId; | |
} | |
public void setVendorId(Long vendorId) { | |
this.vendorId = vendorId; | |
} | |
public Integer getEventType() { | |
return eventType; | |
} | |
public void setEventType(Integer eventType) { | |
this.eventType = eventType; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment