Subversion Repositories SmartDukaan

Rev

Rev 26694 | Rev 27360 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

import com.spice.profitmandi.dao.entity.catalog.Offermargin;
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
import com.spice.profitmandi.dao.enumuration.catalog.ItemCriteriaType;

public class CreateOfferRequest {

        private String name;
        private String description;
        private ItemCriteriaType itemCriteria;
        private List<AmountMarginModel> amountOffer;
        private List<Integer> fofoIds;
        private List<Integer> catalogIds;
        private List<String> brands;
        private String amountType;
        private String targetType;
        private String criteria;
        private PartnerType partnerType;
        private LocalDateTime startDate;
        private LocalDateTime endDate;
        private int price;
        private double totalSale;
        private double shortAmount;
        private double margin;
        private int value;
        private String schemeType;
        private LocalDate startDateTime;
        private LocalDate endDateTime;
        private List<Offermargin> offerMargin;

        public LocalDate getStartDateTime() {
                return startDateTime;
        }

        @Override
        public String toString() {
                return "CreateOfferRequest [name=" + name + ", description=" + description + ", itemCriteria=" + itemCriteria
                                + ", amountOffer=" + amountOffer + ", fofoIds=" + fofoIds + ", catalogIds=" + catalogIds + ", brands="
                                + brands + ", amountType=" + amountType + ", targetType=" + targetType + ", criteria=" + criteria
                                + ", partnerType=" + partnerType + ", startDate=" + startDate + ", endDate=" + endDate + ", price="
                                + price + ", totalSale=" + totalSale + ", shortAmount=" + shortAmount + ", margin=" + margin
                                + ", value=" + value + ", schemeType=" + schemeType + ", startDateTime=" + startDateTime
                                + ", endDateTime=" + endDateTime + ", offerMargin=" + offerMargin + "]";
        }

        public List<Offermargin> getOfferMargin() {
                return offerMargin;
        }

        public void setOfferMargin(List<Offermargin> offerMargin) {
                this.offerMargin = offerMargin;
        }

        public void setStartDateTime(LocalDate startDateTime) {
                this.startDateTime = startDateTime;
        }

        public LocalDate getEndDateTime() {
                return endDateTime;
        }

        public void setEndDateTime(LocalDate endDateTime) {
                this.endDateTime = endDateTime;
        }

        public int getValue() {
                return value;
        }

        public void setValue(int value) {
                this.value = value;
        }

        public String getSchemeType() {
                return schemeType;
        }

        public void setSchemeType(String schemeType) {
                this.schemeType = schemeType;
        }

        public String getCriteria() {
                return criteria;
        }

        public void setCriteria(String criteria) {
                this.criteria = criteria;
        }

        public PartnerType getPartnerType() {
                return partnerType;
        }

        public void setPartnerType(PartnerType partnerType) {
                this.partnerType = partnerType;
        }

        public void setItemCriteria(ItemCriteriaType itemCriteria) {
                this.itemCriteria = itemCriteria;
        }

        public double getShortAmount() {
                return shortAmount;
        }

        public void setShortAmount(double shortAmount) {
                this.shortAmount = shortAmount;
        }

        public double getTotalSale() {
                return totalSale;
        }

        public void setTotalSale(double totalSale) {
                this.totalSale = totalSale;
        }

        public double getMargin() {
                return margin;
        }

        public void setMargin(double margin) {
                this.margin = margin;
        }

        public int getPrice() {
                return price;
        }

        public void setPrice(int price) {
                this.price = price;
        }

        public List<Integer> getCatalogIds() {
                return catalogIds;
        }

        public void setCatalogIds(List<Integer> catalogIds) {
                this.catalogIds = catalogIds;
        }

        public String getName() {
                return name;
        }

        public void setName(String name) {
                this.name = name;
        }

        public String getDescription() {
                return description;
        }

        public void setDescription(String description) {
                this.description = description;
        }

        public ItemCriteriaType getItemCriteria() {
                return itemCriteria;
        }

        public void setItemCreteria(ItemCriteriaType itemCreteria) {
                this.itemCriteria = itemCreteria;
        }

        public List<AmountMarginModel> getAmountOffer() {
                return amountOffer;
        }

        public void setAmountOffer(List<AmountMarginModel> amountOffer) {
                this.amountOffer = amountOffer;
        }

        public List<Integer> getFofoIds() {
                return fofoIds;
        }

        public void setFofoIds(List<Integer> fofoIds) {
                this.fofoIds = fofoIds;
        }

        public List<String> getBrands() {
                return brands;
        }

        public void setBrands(List<String> brands) {
                this.brands = brands;
        }

        public String getAmountType() {
                return amountType;
        }

        public void setAmountType(String amountType) {
                this.amountType = amountType;
        }

        public String getTargetType() {
                return targetType;
        }

        public void setTargetType(String targetType) {
                this.targetType = targetType;
        }

        public LocalDateTime getStartDate() {
                return startDate;
        }

        public void setStartDate(LocalDateTime startDate) {
                this.startDate = startDate;
        }

        public LocalDateTime getEndDate() {
                return endDate;
        }

        public void setEndDate(LocalDateTime endDate) {
                this.endDate = endDate;
        }

}