Subversion Repositories SmartDukaan

Rev

Rev 33791 | 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.util.Objects;

public class BrandAuthUserPOModel {
        private int authUserId;
        private String brand;
        private long todayPOValue;
        private long todayPOBilledValue;
        private long todayBilledValue;
        private int partiesBilled;

        public BrandAuthUserPOModel() {
        }

        public BrandAuthUserPOModel(int authUserId, String brand, long todayPOValue, long todayPOBilledValue, long todayBilledValue, int partiesBilled) {
                this.authUserId = authUserId;
                this.brand = brand;
                this.todayPOValue = todayPOValue;
                this.todayPOBilledValue = todayPOBilledValue;
                this.todayBilledValue = todayBilledValue;
                this.partiesBilled = partiesBilled;
        }

        @Override
        public boolean equals(Object o) {
                if (this == o) return true;
                if (o == null || getClass() != o.getClass()) return false;
                BrandAuthUserPOModel that = (BrandAuthUserPOModel) o;
                return authUserId == that.authUserId && todayPOValue == that.todayPOValue && todayPOBilledValue == that.todayPOBilledValue && todayBilledValue == that.todayBilledValue && Objects.equals(brand, that.brand);
        }

        @Override
        public int hashCode() {
                return Objects.hash(authUserId, brand, todayPOValue, todayPOBilledValue, todayBilledValue);
        }

        public int getAuthUserId() {
                return authUserId;
        }

        public void setAuthUserId(int authUserId) {
                this.authUserId = authUserId;
        }

        public String getBrand() {
                return brand;
        }

        public void setBrand(String brand) {
                this.brand = brand;
        }

        public long getTodayPOValue() {
                return todayPOValue;
        }

        public void setTodayPOValue(long todayPOValue) {
                this.todayPOValue = todayPOValue;
        }

        public long getTodayPOBilledValue() {
                return todayPOBilledValue;
        }

        public void setTodayPOBilledValue(long todayPOBilledValue) {
                this.todayPOBilledValue = todayPOBilledValue;
        }

        public long getTodayBilledValue() {
                return todayBilledValue;
        }

        public void setTodayBilledValue(long todayBilledValue) {
                this.todayBilledValue = todayBilledValue;
        }

        public int getPartiesBilled() {
                return partiesBilled;
        }

        public void setPartiesBilled(int partiesBilled) {
                this.partiesBilled = partiesBilled;
        }
}