新增代理明细列表

This commit is contained in:
lu7213 committed 2026-10-12 03:26:55 -04:00
1 parent 81febe2c56
commit df5512838b
12 files changed
+266 -37

No files matched your search

@@ -25,13 +25,13 @@ public class UsdtDelegationToOther extends BaseEntity
private String token;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date createdAt;
/** 更新时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date updatedAt;
/** 代理的对方地址 */
@@ -26,12 +26,12 @@ public class UsdtDelegationToOtherPlus implements Serializable
@Excel(name = "钱包地址")
private String token;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date createdAt;
/** 更新时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date updatedAt;
/** 代理的对方地址 */
@Excel(name = "代理的对方地址")
@@ -25,13 +25,13 @@ public class UsdtOtherToDelegation extends BaseEntity
private String token;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date createdAt;
/** 更新时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date updatedAt;
/** 代理的来源地址 */
@@ -26,12 +26,12 @@ public class UsdtOtherToDelegationPlus implements Serializable
@Excel(name = "钱包地址")
private String token;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date createdAt;
/** 更新时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date updatedAt;
/** 代理的来源地址 */
@Excel(name = "代理的来源地址")
@@ -0,0 +1,55 @@
package com.ruoyi.system.domain.vo;
import java.io.Serializable;
/**
* TRON Stake 2.0 代理关系明细。
*
* <p>type 使用业务表约定:0 表示能量,1 表示带宽;trxNum 使用 TRX,
* 不在业务层暴露链上的 SUN 单位。</p>
*/
public class DelegatedResourceDetailVo implements Serializable {
private static final long serialVersionUID = 1L;
/** 代理关系中的对方地址。 */
private String counterpartToken;
/** 代理的 TRX 本金数量。 */
private Long trxNum;
/** 资源类型:0 能量,1 带宽。 */
private Integer type;
public DelegatedResourceDetailVo() {
}
public DelegatedResourceDetailVo(String counterpartToken, Long trxNum, Integer type) {
this.counterpartToken = counterpartToken;
this.trxNum = trxNum;
this.type = type;
}
public String getCounterpartToken() {
return counterpartToken;
}
public void setCounterpartToken(String counterpartToken) {
this.counterpartToken = counterpartToken;
}
public Long getTrxNum() {
return trxNum;
}
public void setTrxNum(Long trxNum) {
this.trxNum = trxNum;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
}