Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ru.maybecoffee.client.entities.cafes.promo_action;
- import java.util.Calendar;
- import java.util.List;
- import ru.maybecoffee.client.entities.cafes.products.Product;
- public class CafePromoAction {
- private long cafeId;
- private long actionId;
- private String actionLogo;
- private String actionName;
- private String actionDescription;
- private Calendar activeFrom;
- private Calendar activeTo;
- private Product product;
- private List<Product> extraProducts;
- public CafePromoAction(long cafeId, long actionId, String actionLogo, String actionName, Calendar activeFrom,
- Calendar activeTo, String actionDescription, Product product,
- List<Product> extraProducts) {
- this.cafeId = cafeId;
- this.actionId = actionId;
- this.actionLogo = actionLogo;
- this.actionName = actionName;
- this.activeFrom = activeFrom;
- this.activeTo = activeTo;
- this.actionDescription = actionDescription;
- this.product = product;
- this.extraProducts = extraProducts;
- }
- public long getCafeId() {
- return cafeId;
- }
- public long getActionId() {
- return actionId;
- }
- public String getActionLogo() {
- return actionLogo;
- }
- public String getActionName() {
- return actionName;
- }
- public Calendar getActiveFrom() {
- return activeFrom;
- }
- public Calendar getActiveTo() {
- return activeTo;
- }
- public String getActionDescription() {
- return actionDescription;
- }
- public Product getProduct() {
- return product;
- }
- public List<Product> getExtraProducts() {
- return extraProducts;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement