package com.emato.biz.domain.merchant; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.emato.common.annotation.Excel; import com.emato.common.core.domain.BaseEntity; /** * 商户密钥对象 merchant_secret * * @author scott * @date 2023-03-17 */ public class MerchantSecret extends BaseEntity { private static final long serialVersionUID = 1L; /** 密钥编号 */ private String secSn; /** 商户编号 */ @Excel(name = "商户编号") private String merchSn; /** 商户密钥类型 */ @Excel(name = "商户密钥类型") private String merchSecType; /** MD5混淆码 */ @Excel(name = "MD5混淆码") private String md5Salt; /** 商户公钥 */ @Excel(name = "商户公钥") private String merchPubKey; /** 商户私钥 */ @Excel(name = "商户私钥") private String merchPriKey; /** e码头公钥 */ @Excel(name = "e码头公钥") private String ematoPubKey; /** e码头私钥 */ @Excel(name = "e码头私钥") private String ematoPriKey; /** 是否有效 */ @Excel(name = "是否有效") private String isValid; /** 创建人序号 */ @Excel(name = "创建人序号") private String createrSn; /** 修改人序号 */ @Excel(name = "修改人序号") private String moderSn; /** 修改时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd") private Date modTime; /** 时间戳 */ private Date tstm; public void setSecSn(String secSn) { this.secSn = secSn; } public String getSecSn() { return secSn; } public void setMerchSn(String merchSn) { this.merchSn = merchSn; } public String getMerchSn() { return merchSn; } public void setMerchSecType(String merchSecType) { this.merchSecType = merchSecType; } public String getMerchSecType() { return merchSecType; } public void setMd5Salt(String md5Salt) { this.md5Salt = md5Salt; } public String getMd5Salt() { return md5Salt; } public void setMerchPubKey(String merchPubKey) { this.merchPubKey = merchPubKey; } public String getMerchPubKey() { return merchPubKey; } public void setMerchPriKey(String merchPriKey) { this.merchPriKey = merchPriKey; } public String getMerchPriKey() { return merchPriKey; } public void setEmatoPubKey(String ematoPubKey) { this.ematoPubKey = ematoPubKey; } public String getEmatoPubKey() { return ematoPubKey; } public void setEmatoPriKey(String ematoPriKey) { this.ematoPriKey = ematoPriKey; } public String getEmatoPriKey() { return ematoPriKey; } public void setIsValid(String isValid) { this.isValid = isValid; } public String getIsValid() { return isValid; } public void setCreaterSn(String createrSn) { this.createrSn = createrSn; } public String getCreaterSn() { return createrSn; } public void setModerSn(String moderSn) { this.moderSn = moderSn; } public String getModerSn() { return moderSn; } public void setModTime(Date modTime) { this.modTime = modTime; } public Date getModTime() { return modTime; } public void setTstm(Date tstm) { this.tstm = tstm; } public Date getTstm() { return tstm; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("secSn", getSecSn()) .append("merchSn", getMerchSn()) .append("merchSecType", getMerchSecType()) .append("md5Salt", getMd5Salt()) .append("merchPubKey", getMerchPubKey()) .append("merchPriKey", getMerchPriKey()) .append("ematoPubKey", getEmatoPubKey()) .append("ematoPriKey", getEmatoPriKey()) .append("isValid", getIsValid()) .append("createrSn", getCreaterSn()) .append("createTime", getCreateTime()) .append("moderSn", getModerSn()) .append("modTime", getModTime()) .append("tstm", getTstm()) .toString(); } }