Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
34608 ranu 1
package com.spice.profitmandi.dao.model;
2
 
3
import java.util.Objects;
4
 
5
public class BiSecondaryModel {
6
    double secondaryTarget;
7
    double secondaryAchieved;
8
    double SecondaryReturn;
9
    double netSecondary;
10
    double secondaryAchievedPercent;
11
    double tertiary;
12
    double tertiaryUnBilled;
13
 
14
    public double getSecondaryTarget() {
15
        return secondaryTarget;
16
    }
17
 
18
    public void setSecondaryTarget(double secondaryTarget) {
19
        this.secondaryTarget = secondaryTarget;
20
    }
21
 
22
    public double getSecondaryAchieved() {
23
        return secondaryAchieved;
24
    }
25
 
26
    public void setSecondaryAchieved(double secondaryAchieved) {
27
        this.secondaryAchieved = secondaryAchieved;
28
    }
29
 
30
    public double getSecondaryReturn() {
31
        return SecondaryReturn;
32
    }
33
 
34
    public void setSecondaryReturn(double secondaryReturn) {
35
        SecondaryReturn = secondaryReturn;
36
    }
37
 
38
    public double getNetSecondary() {
39
        return netSecondary;
40
    }
41
 
42
    public void setNetSecondary(double netSecondary) {
43
        this.netSecondary = netSecondary;
44
    }
45
 
46
    public double getSecondaryAchievedPercent() {
47
        return secondaryAchievedPercent;
48
    }
49
 
50
    public void setSecondaryAchievedPercent(double secondaryAchievedPercent) {
51
        this.secondaryAchievedPercent = secondaryAchievedPercent;
52
    }
53
 
54
    public double getTertiary() {
55
        return tertiary;
56
    }
57
 
58
    public void setTertiary(double tertiary) {
59
        this.tertiary = tertiary;
60
    }
61
 
62
    public double getTertiaryUnBilled() {
63
        return tertiaryUnBilled;
64
    }
65
 
66
    public void setTertiaryUnBilled(double tertiaryUnBilled) {
67
        this.tertiaryUnBilled = tertiaryUnBilled;
68
    }
69
 
70
    @Override
71
    public boolean equals(Object o) {
72
        if (this == o) return true;
73
        if (o == null || getClass() != o.getClass()) return false;
74
        BiSecondaryModel that = (BiSecondaryModel) o;
75
        return Double.compare(secondaryTarget, that.secondaryTarget) == 0 && Double.compare(secondaryAchieved, that.secondaryAchieved) == 0 && Double.compare(SecondaryReturn, that.SecondaryReturn) == 0 && Double.compare(netSecondary, that.netSecondary) == 0 && Double.compare(secondaryAchievedPercent, that.secondaryAchievedPercent) == 0 && Double.compare(tertiary, that.tertiary) == 0 && Double.compare(tertiaryUnBilled, that.tertiaryUnBilled) == 0;
76
    }
77
 
78
    @Override
79
    public int hashCode() {
80
        return Objects.hash(secondaryTarget, secondaryAchieved, SecondaryReturn, netSecondary, secondaryAchievedPercent, tertiary, tertiaryUnBilled);
81
    }
82
 
83
    @Override
84
    public String toString() {
85
        return "BiSecondaryModel{" +
86
                "secondaryTarget=" + secondaryTarget +
87
                ", secondaryAchieved=" + secondaryAchieved +
88
                ", SecondaryReturn=" + SecondaryReturn +
89
                ", netSecondary=" + netSecondary +
90
                ", secondaryAchievedPercent=" + secondaryAchievedPercent +
91
                ", tertiary=" + tertiary +
92
                ", tertiaryUnBilled=" + tertiaryUnBilled +
93
                '}';
94
    }
95
}