Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
/*
2
 * Copyright 2009-2014 PrimeTek.
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 * http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
package org.primefaces.ultima.domain;
17
 
18
import java.io.Serializable;
19
 
20
public class Sale implements Serializable {
21
 
22
    private String manufacturer;
23
 
24
    private int lastYearSale;
25
 
26
    private int thisYearSale;
27
 
28
    private int lastYearProfit;
29
 
30
    private int thisYearProfit;
31
 
32
    public Sale() {}
33
 
34
    public Sale(String manufacturer, int lastYearSale, int thisYearSale, int lastYearProfit, int thisYearProfit) {
35
        this.manufacturer = manufacturer;
36
        this.lastYearSale = lastYearSale;
37
        this.thisYearSale = thisYearSale;
38
        this.lastYearProfit = lastYearProfit;
39
        this.thisYearProfit = thisYearProfit;
40
    }
41
 
42
    public int getLastYearProfit() {
43
        return lastYearProfit;
44
    }
45
 
46
    public void setLastYearProfit(int lastYearProfit) {
47
        this.lastYearProfit = lastYearProfit;
48
    }
49
 
50
    public int getLastYearSale() {
51
        return lastYearSale;
52
    }
53
 
54
    public void setLastYearSale(int lastYearSale) {
55
        this.lastYearSale = lastYearSale;
56
    }
57
 
58
    public String getManufacturer() {
59
        return manufacturer;
60
    }
61
 
62
    public void setManufacturer(String manufacturer) {
63
        this.manufacturer = manufacturer;
64
    }
65
 
66
    public int getThisYearProfit() {
67
        return thisYearProfit;
68
    }
69
 
70
    public void setThisYearProfit(int thisYearProfit) {
71
        this.thisYearProfit = thisYearProfit;
72
    }
73
 
74
    public int getThisYearSale() {
75
        return thisYearSale;
76
    }
77
 
78
    public void setThisYearSale(int thisYearSale) {
79
        this.thisYearSale = thisYearSale;
80
    }
81
}