package com.qianwen.smartman.modules.tpm.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.time.LocalDateTime;
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@TableName("blade_check_record_file")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/entity/CheckRecordFile.class */
|
public class CheckRecordFile extends TenantEntity {
|
private static final long serialVersionUID = 3915096178761989541L;
|
private Long checkRecordId;
|
private String fileName;
|
private String objectKey;
|
private String link;
|
private String contentType;
|
private String fileSize;
|
private LocalDateTime uploadTime;
|
private Integer fileType;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/entity/CheckRecordFile$CheckRecordFileBuilder.class */
|
public static class CheckRecordFileBuilder {
|
private Long checkRecordId;
|
private String fileName;
|
private String objectKey;
|
private String link;
|
private String contentType;
|
private String fileSize;
|
private LocalDateTime uploadTime;
|
private Integer fileType;
|
|
CheckRecordFileBuilder() {
|
}
|
|
public CheckRecordFileBuilder checkRecordId(final Long checkRecordId) {
|
this.checkRecordId = checkRecordId;
|
return this;
|
}
|
|
public CheckRecordFileBuilder fileName(final String fileName) {
|
this.fileName = fileName;
|
return this;
|
}
|
|
public CheckRecordFileBuilder objectKey(final String objectKey) {
|
this.objectKey = objectKey;
|
return this;
|
}
|
|
public CheckRecordFileBuilder link(final String link) {
|
this.link = link;
|
return this;
|
}
|
|
public CheckRecordFileBuilder contentType(final String contentType) {
|
this.contentType = contentType;
|
return this;
|
}
|
|
public CheckRecordFileBuilder fileSize(final String fileSize) {
|
this.fileSize = fileSize;
|
return this;
|
}
|
|
public CheckRecordFileBuilder uploadTime(final LocalDateTime uploadTime) {
|
this.uploadTime = uploadTime;
|
return this;
|
}
|
|
public CheckRecordFileBuilder fileType(final Integer fileType) {
|
this.fileType = fileType;
|
return this;
|
}
|
|
public CheckRecordFile build() {
|
return new CheckRecordFile(this.checkRecordId, this.fileName, this.objectKey, this.link, this.contentType, this.fileSize, this.uploadTime, this.fileType);
|
}
|
|
public String toString() {
|
return "CheckRecordFile.CheckRecordFileBuilder(checkRecordId=" + this.checkRecordId + ", fileName=" + this.fileName + ", objectKey=" + this.objectKey + ", link=" + this.link + ", contentType=" + this.contentType + ", fileSize=" + this.fileSize + ", uploadTime=" + this.uploadTime + ", fileType=" + this.fileType + ")";
|
}
|
}
|
|
public void setCheckRecordId(final Long checkRecordId) {
|
this.checkRecordId = checkRecordId;
|
}
|
|
public void setFileName(final String fileName) {
|
this.fileName = fileName;
|
}
|
|
public void setObjectKey(final String objectKey) {
|
this.objectKey = objectKey;
|
}
|
|
public void setLink(final String link) {
|
this.link = link;
|
}
|
|
public void setContentType(final String contentType) {
|
this.contentType = contentType;
|
}
|
|
public void setFileSize(final String fileSize) {
|
this.fileSize = fileSize;
|
}
|
|
public void setUploadTime(final LocalDateTime uploadTime) {
|
this.uploadTime = uploadTime;
|
}
|
|
public void setFileType(final Integer fileType) {
|
this.fileType = fileType;
|
}
|
|
public String toString() {
|
return "CheckRecordFile(checkRecordId=" + getCheckRecordId() + ", fileName=" + getFileName() + ", objectKey=" + getObjectKey() + ", link=" + getLink() + ", contentType=" + getContentType() + ", fileSize=" + getFileSize() + ", uploadTime=" + getUploadTime() + ", fileType=" + getFileType() + ")";
|
}
|
|
public static CheckRecordFileBuilder builder() {
|
return new CheckRecordFileBuilder();
|
}
|
|
public CheckRecordFile() {
|
}
|
|
public CheckRecordFile(final Long checkRecordId, final String fileName, final String objectKey, final String link, final String contentType, final String fileSize, final LocalDateTime uploadTime, final Integer fileType) {
|
this.checkRecordId = checkRecordId;
|
this.fileName = fileName;
|
this.objectKey = objectKey;
|
this.link = link;
|
this.contentType = contentType;
|
this.fileSize = fileSize;
|
this.uploadTime = uploadTime;
|
this.fileType = fileType;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CheckRecordFile) {
|
CheckRecordFile other = (CheckRecordFile) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$checkRecordId = getCheckRecordId();
|
Object other$checkRecordId = other.getCheckRecordId();
|
if (this$checkRecordId == null) {
|
if (other$checkRecordId != null) {
|
return false;
|
}
|
} else if (!this$checkRecordId.equals(other$checkRecordId)) {
|
return false;
|
}
|
Object this$fileType = getFileType();
|
Object other$fileType = other.getFileType();
|
if (this$fileType == null) {
|
if (other$fileType != null) {
|
return false;
|
}
|
} else if (!this$fileType.equals(other$fileType)) {
|
return false;
|
}
|
Object this$fileName = getFileName();
|
Object other$fileName = other.getFileName();
|
if (this$fileName == null) {
|
if (other$fileName != null) {
|
return false;
|
}
|
} else if (!this$fileName.equals(other$fileName)) {
|
return false;
|
}
|
Object this$objectKey = getObjectKey();
|
Object other$objectKey = other.getObjectKey();
|
if (this$objectKey == null) {
|
if (other$objectKey != null) {
|
return false;
|
}
|
} else if (!this$objectKey.equals(other$objectKey)) {
|
return false;
|
}
|
Object this$link = getLink();
|
Object other$link = other.getLink();
|
if (this$link == null) {
|
if (other$link != null) {
|
return false;
|
}
|
} else if (!this$link.equals(other$link)) {
|
return false;
|
}
|
Object this$contentType = getContentType();
|
Object other$contentType = other.getContentType();
|
if (this$contentType == null) {
|
if (other$contentType != null) {
|
return false;
|
}
|
} else if (!this$contentType.equals(other$contentType)) {
|
return false;
|
}
|
Object this$fileSize = getFileSize();
|
Object other$fileSize = other.getFileSize();
|
if (this$fileSize == null) {
|
if (other$fileSize != null) {
|
return false;
|
}
|
} else if (!this$fileSize.equals(other$fileSize)) {
|
return false;
|
}
|
Object this$uploadTime = getUploadTime();
|
Object other$uploadTime = other.getUploadTime();
|
return this$uploadTime == null ? other$uploadTime == null : this$uploadTime.equals(other$uploadTime);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CheckRecordFile;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $checkRecordId = getCheckRecordId();
|
int result2 = (result * 59) + ($checkRecordId == null ? 43 : $checkRecordId.hashCode());
|
Object $fileType = getFileType();
|
int result3 = (result2 * 59) + ($fileType == null ? 43 : $fileType.hashCode());
|
Object $fileName = getFileName();
|
int result4 = (result3 * 59) + ($fileName == null ? 43 : $fileName.hashCode());
|
Object $objectKey = getObjectKey();
|
int result5 = (result4 * 59) + ($objectKey == null ? 43 : $objectKey.hashCode());
|
Object $link = getLink();
|
int result6 = (result5 * 59) + ($link == null ? 43 : $link.hashCode());
|
Object $contentType = getContentType();
|
int result7 = (result6 * 59) + ($contentType == null ? 43 : $contentType.hashCode());
|
Object $fileSize = getFileSize();
|
int result8 = (result7 * 59) + ($fileSize == null ? 43 : $fileSize.hashCode());
|
Object $uploadTime = getUploadTime();
|
return (result8 * 59) + ($uploadTime == null ? 43 : $uploadTime.hashCode());
|
}
|
|
public Long getCheckRecordId() {
|
return this.checkRecordId;
|
}
|
|
public String getFileName() {
|
return this.fileName;
|
}
|
|
public String getObjectKey() {
|
return this.objectKey;
|
}
|
|
public String getLink() {
|
return this.link;
|
}
|
|
public String getContentType() {
|
return this.contentType;
|
}
|
|
public String getFileSize() {
|
return this.fileSize;
|
}
|
|
public LocalDateTime getUploadTime() {
|
return this.uploadTime;
|
}
|
|
public Integer getFileType() {
|
return this.fileType;
|
}
|
}
|