Advertisement
Guest User

Untitled

a guest
Feb 24th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.77 KB | None | 0 0
  1. package ru.maybecoffee.client.entities.cafes.promo_action;
  2.  
  3. import java.util.Calendar;
  4. import java.util.List;
  5.  
  6. import ru.maybecoffee.client.entities.cafes.products.Product;
  7.  
  8. public class CafePromoAction {
  9.  
  10.     private long cafeId;
  11.     private long actionId;
  12.     private String actionLogo;
  13.     private String actionName;
  14.     private String actionDescription;
  15.     private Calendar activeFrom;
  16.     private Calendar activeTo;
  17.    
  18.     private Product product;
  19.  
  20.     private List<Product> extraProducts;
  21.  
  22.     public CafePromoAction(long cafeId, long actionId, String actionLogo, String actionName, Calendar activeFrom,
  23.                            Calendar activeTo, String actionDescription, Product product,
  24.                            List<Product> extraProducts) {
  25.         this.cafeId = cafeId;
  26.         this.actionId = actionId;
  27.         this.actionLogo = actionLogo;
  28.         this.actionName = actionName;
  29.         this.activeFrom = activeFrom;
  30.         this.activeTo = activeTo;
  31.         this.actionDescription = actionDescription;
  32.         this.product = product;
  33.         this.extraProducts = extraProducts;
  34.     }
  35.  
  36.     public long getCafeId() {
  37.         return cafeId;
  38.     }
  39.  
  40.     public long getActionId() {
  41.         return actionId;
  42.     }
  43.  
  44.     public String getActionLogo() {
  45.         return actionLogo;
  46.     }
  47.  
  48.     public String getActionName() {
  49.         return actionName;
  50.     }
  51.  
  52.     public Calendar getActiveFrom() {
  53.         return activeFrom;
  54.     }
  55.  
  56.     public Calendar getActiveTo() {
  57.         return activeTo;
  58.     }
  59.  
  60.     public String getActionDescription() {
  61.         return actionDescription;
  62.     }
  63.  
  64.     public Product getProduct() {
  65.         return product;
  66.     }
  67.  
  68.     public List<Product> getExtraProducts() {
  69.         return extraProducts;
  70.     }
  71. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement