Files
usdt/ruoyi-system/src/main/java/com/ruoyi/system/domain/AppsPlus.java
T
2026-10-10 03:33:51 -04:00

268 lines
6.5 KiB
Java

package com.ruoyi.system.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableName;
/**
* 平台商户对象 apps
*
* @author luqj
* @date 2026-10-08
*/
@TableName(value = "apps")
public class AppsPlus implements Serializable
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 用户ID */
@Excel(name = "用户ID")
private Long userId;
/** 商户名称 */
@Excel(name = "商户名称")
private String name;
/** 描述 */
@Excel(name = "描述")
private String description;
/** 状态 */
@Excel(name = "状态")
private Integer status;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date createdAt;
/** 更新时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date updatedAt;
/** 删除时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date deletedAt;
/** trx账号 */
@Excel(name = "trx账号金额")
private BigDecimal trxBalance;
/** usdt账号 */
@Excel(name = "usdt账号金额")
private BigDecimal usdtBalance;
/** 公钥 */
@Excel(name = "公钥")
private String publicKey;
/** 加密后的私钥,禁止序列化到接口响应 */
@JsonIgnore
private String privateKey;
/** 信用额度 */
@Excel(name = "信用额度金额")
private BigDecimal creditLimit;
/** Google OpenID Connect subject ID */
@Excel(name = "Google OpenID Connect subject ID")
private String googleSub;
/** Google账号邮箱 */
@Excel(name = "Google账号邮箱")
private String googleEmail;
/** Google账号名称 */
@Excel(name = "Google账号名称")
private String googleName;
/** Google头像URL */
@Excel(name = "Google头像URL")
private String googlePicture;
/** 归集地址 */
@Excel(name = "归集地址")
private String distTokenAddress;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setUserId(Long userId)
{
this.userId = userId;
}
public Long getUserId()
{
return userId;
}
public void setName(String name)
{
this.name = name;
}
public String getName()
{
return name;
}
public void setDescription(String description)
{
this.description = description;
}
public String getDescription()
{
return description;
}
public void setStatus(Integer status)
{
this.status = status;
}
public Integer getStatus()
{
return status;
}
public void setCreatedAt(Date createdAt)
{
this.createdAt = createdAt;
}
public Date getCreatedAt()
{
return createdAt;
}
public void setUpdatedAt(Date updatedAt)
{
this.updatedAt = updatedAt;
}
public Date getUpdatedAt()
{
return updatedAt;
}
public void setDeletedAt(Date deletedAt)
{
this.deletedAt = deletedAt;
}
public Date getDeletedAt()
{
return deletedAt;
}
public void setTrxBalance(BigDecimal trxBalance)
{
this.trxBalance = trxBalance;
}
public BigDecimal getTrxBalance()
{
return trxBalance;
}
public void setUsdtBalance(BigDecimal usdtBalance)
{
this.usdtBalance = usdtBalance;
}
public BigDecimal getUsdtBalance()
{
return usdtBalance;
}
public void setPublicKey(String publicKey)
{
this.publicKey = publicKey;
}
public String getPublicKey()
{
return publicKey;
}
public void setPrivateKey(String privateKey)
{
this.privateKey = privateKey;
}
public String getPrivateKey()
{
return privateKey;
}
public void setCreditLimit(BigDecimal creditLimit)
{
this.creditLimit = creditLimit;
}
public BigDecimal getCreditLimit()
{
return creditLimit;
}
public void setGoogleSub(String googleSub)
{
this.googleSub = googleSub;
}
public String getGoogleSub()
{
return googleSub;
}
public void setGoogleEmail(String googleEmail)
{
this.googleEmail = googleEmail;
}
public String getGoogleEmail()
{
return googleEmail;
}
public void setGoogleName(String googleName)
{
this.googleName = googleName;
}
public String getGoogleName()
{
return googleName;
}
public void setGooglePicture(String googlePicture)
{
this.googlePicture = googlePicture;
}
public String getGooglePicture()
{
return googlePicture;
}
public void setDistTokenAddress(String distTokenAddress)
{
this.distTokenAddress = distTokenAddress;
}
public String getDistTokenAddress()
{
return distTokenAddress;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("userId", getUserId())
.append("name", getName())
.append("description", getDescription())
.append("status", getStatus())
.append("createdAt", getCreatedAt())
.append("updatedAt", getUpdatedAt())
.append("deletedAt", getDeletedAt())
.append("trxBalance", getTrxBalance())
.append("usdtBalance", getUsdtBalance())
.append("publicKey", getPublicKey())
.append("privateKey", "<redacted>")
.append("creditLimit", getCreditLimit())
.append("googleSub", getGoogleSub())
.append("googleEmail", getGoogleEmail())
.append("googleName", getGoogleName())
.append("googlePicture", getGooglePicture())
.append("distTokenAddress", getDistTokenAddress())
.toString();
}
}