Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class RestockEvent {
- private String eventId;
- private String productId;
- private int quantity;
- private String supplier;
- private long timestamp;
- public RestockEvent() {
- }
- public RestockEvent(String eventId, String productId, int quantity, String supplier, long timestamp) {
- this.eventId = eventId;
- this.productId = productId;
- this.quantity = quantity;
- this.supplier = supplier;
- this.timestamp = timestamp;
- }
- public String getEventId() {
- return eventId;
- }
- public void setEventId(String eventId) {
- this.eventId = eventId;
- }
- public String getProductId() {
- return productId;
- }
- public void setProductId(String productId) {
- this.productId = productId;
- }
- public int getQuantity() {
- return quantity;
- }
- public void setQuantity(int quantity) {
- this.quantity = quantity;
- }
- public String getSupplier() {
- return supplier;
- }
- public void setSupplier(String supplier) {
- this.supplier = supplier;
- }
- public long getTimestamp() {
- return timestamp;
- }
- public void setTimestamp(long timestamp) {
- this.timestamp = timestamp;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment