📄 tfileid.java
字号:
package sshfile.model;
/**
* TFileId generated by MyEclipse Persistence Tools
*/
public class TFileId implements java.io.Serializable {
// Fields
private String fileId;
private String fileName;
private String fileContent;
private String remark;
// Constructors
/** default constructor */
public TFileId() {
}
/** minimal constructor */
public TFileId(String fileId) {
this.fileId = fileId;
}
/** full constructor */
public TFileId(String fileId, String fileName, String fileContent,
String remark) {
this.fileId = fileId;
this.fileName = fileName;
this.fileContent = fileContent;
this.remark = remark;
}
// Property accessors
public String getFileId() {
return this.fileId;
}
public void setFileId(String fileId) {
this.fileId = fileId;
}
public String getFileName() {
return this.fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public String getFileContent() {
return this.fileContent;
}
public void setFileContent(String fileContent) {
this.fileContent = fileContent;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof TFileId))
return false;
TFileId castOther = (TFileId) other;
return ((this.getFileId() == castOther.getFileId()) || (this
.getFileId() != null
&& castOther.getFileId() != null && this.getFileId().equals(
castOther.getFileId())))
&& ((this.getFileName() == castOther.getFileName()) || (this
.getFileName() != null
&& castOther.getFileName() != null && this
.getFileName().equals(castOther.getFileName())))
&& ((this.getFileContent() == castOther.getFileContent()) || (this
.getFileContent() != null
&& castOther.getFileContent() != null && this
.getFileContent().equals(castOther.getFileContent())))
&& ((this.getRemark() == castOther.getRemark()) || (this
.getRemark() != null
&& castOther.getRemark() != null && this.getRemark()
.equals(castOther.getRemark())));
}
public int hashCode() {
int result = 17;
result = 37 * result
+ (getFileId() == null ? 0 : this.getFileId().hashCode());
result = 37 * result
+ (getFileName() == null ? 0 : this.getFileName().hashCode());
result = 37
* result
+ (getFileContent() == null ? 0 : this.getFileContent()
.hashCode());
result = 37 * result
+ (getRemark() == null ? 0 : this.getRemark().hashCode());
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -