Skip to content
Snippets Groups Projects
Select Git revision
  • a8938d94dee4755463bee5b1f32abe72bbc8f256
  • master default protected
2 results

PurchaseRequest.java

Blame
  • 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
    }