View Javadoc
1   /*
2    *    Copyright 2009-2022 the original author or authors.
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    *       https://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.apache.ibatis.domain.misc;
17  
18  import java.util.Date;
19  
20  public class Employee {
21  
22    private int id;
23    private String firstName;
24    private String lastName;
25    private Date birthDate;
26    private double height;
27    private double weight;
28    private String heightUnits;
29    private String weightUnits;
30  
31    public int getId() {
32      return id;
33    }
34  
35    public void setId(int id) {
36      this.id = id;
37    }
38  
39    public String getFirstName() {
40      return firstName;
41    }
42  
43    public void setFirstName(String firstName) {
44      this.firstName = firstName;
45    }
46  
47    public String getLastName() {
48      return lastName;
49    }
50  
51    public void setLastName(String lastName) {
52      this.lastName = lastName;
53    }
54  
55    public Date getBirthDate() {
56      return birthDate;
57    }
58  
59    public void setBirthDate(Date birthDate) {
60      this.birthDate = birthDate;
61    }
62  
63    public double getHeight() {
64      return height;
65    }
66  
67    public void setHeight(double height) {
68      this.height = height;
69    }
70  
71    public double getWeight() {
72      return weight;
73    }
74  
75    public void setWeight(double weight) {
76      this.weight = weight;
77    }
78  
79    public String getHeightUnits() {
80      return heightUnits;
81    }
82  
83    public void setHeightUnits(String heightUnits) {
84      this.heightUnits = heightUnits;
85    }
86  
87    public String getWeightUnits() {
88      return weightUnits;
89    }
90  
91    public void setWeightUnits(String weightUnits) {
92      this.weightUnits = weightUnits;
93    }
94  }