rename field to name
This commit is contained in:
parent
f7a0389bc7
commit
a147c4406a
@ -28,7 +28,7 @@ public class INetAddress extends AbstractEntity implements Serializable {
|
||||
private long id;
|
||||
|
||||
@Column(name = "inet_addr", unique = true, length=-1)
|
||||
private String inetAddr;
|
||||
private String name;
|
||||
|
||||
@Column(name = "description", columnDefinition = "character varying(100)")
|
||||
private String description;
|
||||
@ -37,7 +37,7 @@ public class INetAddress extends AbstractEntity implements Serializable {
|
||||
}
|
||||
|
||||
public INetAddress(String inetAddr) {
|
||||
this.inetAddr = inetAddr;
|
||||
this.name = inetAddr;
|
||||
}
|
||||
|
||||
public INetAddress(String inetAddr, String desc) {
|
||||
@ -68,19 +68,19 @@ public class INetAddress extends AbstractEntity implements Serializable {
|
||||
}
|
||||
|
||||
public String getInetAddr() {
|
||||
return inetAddr;
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setInetAddr(String inetAddr) {
|
||||
this.inetAddr = inetAddr;
|
||||
this.name = inetAddr;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return inetAddr;
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String inetAddr) {
|
||||
this.inetAddr = inetAddr;
|
||||
this.name = inetAddr;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
|
Loading…
Reference in New Issue
Block a user