|
|
|
|
@ -4,6 +4,7 @@ import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
|
import com.ruoyi.common.core.annotation.Excel;
|
|
|
|
|
import com.ruoyi.common.core.web.domain.BaseEntity;
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Hw资料文件对象 hw_web_document
|
|
|
|
|
@ -32,6 +33,7 @@ public class HwWebDocument extends BaseEntity
|
|
|
|
|
|
|
|
|
|
/** 密钥 */
|
|
|
|
|
@Excel(name = "密钥")
|
|
|
|
|
@JsonIgnore
|
|
|
|
|
private String secretKey;
|
|
|
|
|
|
|
|
|
|
/** json */
|
|
|
|
|
@ -89,6 +91,10 @@ public class HwWebDocument extends BaseEntity
|
|
|
|
|
return secretKey;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean getHasSecret() {
|
|
|
|
|
return secretKey != null && !secretKey.trim().isEmpty();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getJson() {
|
|
|
|
|
return json;
|
|
|
|
|
}
|
|
|
|
|
@ -121,7 +127,7 @@ public class HwWebDocument extends BaseEntity
|
|
|
|
|
.append("documentAddress", getDocumentAddress())
|
|
|
|
|
.append("createTime", getCreateTime())
|
|
|
|
|
.append("webCode", getWebCode())
|
|
|
|
|
.append("secretKey", getSecretKey())
|
|
|
|
|
.append("hasSecret", getHasSecret())
|
|
|
|
|
.append("json", getJson())
|
|
|
|
|
.append("type", getType())
|
|
|
|
|
.append("isDelete", getIsDelete())
|
|
|
|
|
|