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.submitted.parent_childs;
17  
18  public class Child {
19  
20    private Integer id;
21    private String name;
22    private String surName;
23    private Integer age;
24  
25    public Child() {
26  
27    }
28  
29    public Child(Integer id, String name, String surName, Integer age) {
30      this.id = id;
31      this.name = name;
32      this.surName = surName;
33      this.age = age;
34    }
35  
36    public Integer getId() {
37      return id;
38    }
39  
40    public void setId(Integer id) {
41      this.id = id;
42    }
43  
44    public String getName() {
45      return name;
46    }
47  
48    public void setName(String name) {
49      this.name = name;
50    }
51  
52    public String getSurName() {
53      return surName;
54    }
55  
56    public void setSurName(String surName) {
57      this.surName = surName;
58    }
59  
60    public int getAge() {
61      return age;
62    }
63  
64    public void setAge(int age) {
65      this.age = age;
66    }
67  
68  }