Select Git revision
PurchaseRequest.java
PurchaseRequest.java 668 B
package com.hepia.demobdd.dto;
public class PurchaseRequest {
private Long userId;
private Long productId;
private int quantity;
//#region getters
public Long getUserId() {
return userId;
}
public Long getProductId() {
return productId;
}
public int getQuantity() {
return quantity;
}
//#endregion
//#region setters
public void setUserId(Long userId) {
this.userId = userId;
}
public void setProductId(Long productId) {
this.productId = productId;
}
public void setQuantity(int quantity) {
this.quantity = quantity;
}
//#endregion
}