1 | public class CarPart implements java.io.Serializable {↵ | | 1 | public class CarType implements java.io.Serializable {↵
|
|
2 | private long id;↵ | | 2 | private long id;↵
|
3 | private String partName;↵ | | 3 | private String typeName;↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * @return Returns the id.↵ | | 5 | * @return Returns the id.↵
|
6 | */↵ | | 6 | */↵
|
7 | public long getId() {↵ | | 7 | public long getId() {↵
|
8 | return id;↵ | | 8 | return id;↵
|
9 | }↵ | | 9 | }↵
|
10 | /**↵ | | 10 | /**↵
|
11 | * @param id The id to set.↵ | | 11 | * @param id The id to set.↵
|
12 | */↵ | | 12 | */↵
|
13 | public void setId(long id) {↵ | | 13 | public void setId(long id) {↵
|
14 | this.id = id;↵ | | 14 | this.id = id;↵
|
15 | }↵ | | 15 | }↵
|
16 | /**↵ | | 16 | /**↵
|
17 | * @return Returns the typeName.↵ | | 17 | * @return Returns the typeName.↵
|
18 | */↵ | | 18 | */↵
|
19 | public String getPartName() {↵ | | 19 | public String getTypeName() {↵
|
20 | return partName;↵ | | 20 | return typeName;↵
|
21 | }↵ | | 21 | }↵
|
22 | /**↵ | | 22 | /**↵
|
23 | * @param typeName The typeName to set.↵ | | 23 | * @param typeName The typeName to set.↵
|
24 | */↵ | | 24 | */↵
|
25 | public void setPartName(String typeName) {↵ | | 25 | public void setTypeName(String typeName) {↵
|
26 | this.partName = typeName | | 26 | this.typeName = typeName
|