Subversion Repositories SmartDukaan

Rev

Rev 23017 | Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.common.model;

import java.time.LocalDateTime;
import java.util.Set;

public class CreateSchemeRequest {
        
        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;
        }

        private String name;
        private String description;
        private String type;
        private String amountType;
        private float amount;
        private LocalDateTime startDate;
        private LocalDateTime endDate;
        private boolean retailerAll;
        private Set<Integer> retailerIds;
        private Set<Integer> itemIds;
        
        
        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 String getType() {
                return type;
        }
        public void setType(String type) {
                this.type = type;
        }
        public String getAmountType() {
                return amountType;
        }
        public void setAmountType(String amountType) {
                this.amountType = amountType;
        }
        public float getAmount() {
                return amount;
        }
        public void setAmount(float amount) {
                this.amount = amount;
        }
        
        public boolean isRetailerAll() {
                return retailerAll;
        }
        public void setRetailerAll(boolean retailerAll) {
                this.retailerAll = retailerAll;
        }
        public Set<Integer> getRetailerIds() {
                return retailerIds;
        }
        public void setRetailerIds(Set<Integer> retailerIds) {
                this.retailerIds = retailerIds;
        }
        
        public Set<Integer> getItemIds() {
                return itemIds;
        }
        
        public void setItemIds(Set<Integer> itemIds) {
                this.itemIds = itemIds;
        }
        
        @Override
        public String toString() {
                return "CreateSchemeRequest [name=" + name + ", description=" + description + ", type=" + type + ", amountType="
                                + amountType + ", amount=" + amount + ", startDate=" + startDate + ", endDate=" + endDate
                                + ", retailerAll=" + retailerAll + ", retailerIds=" + retailerIds + ", itemIds=" + itemIds + "]";
        }
}