123
This commit is contained in:
1 parent
0df6716cc3
commit
009955d560
25 files changed
+417
-63
No files matched your search
@@ -2,6 +2,7 @@ package com.ruoyi.system.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
@@ -86,7 +87,7 @@ public class Apps extends BaseEntity
|
||||
{
|
||||
return description;
|
||||
}
|
||||
public void setStatus(Integer status)
|
||||
public void setStatus(Integer status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ import java.util.Date;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
|
||||
@@ -50,10 +50,6 @@ public class UsdtAggregationTask extends BaseEntity
|
||||
/** 删除时间 */
|
||||
private Date deletedAt;
|
||||
|
||||
/** 提现总金额 */
|
||||
@Excel(name = "提现总金额")
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
/** 执行时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
@@ -139,15 +135,6 @@ public class UsdtAggregationTask extends BaseEntity
|
||||
{
|
||||
return deletedAt;
|
||||
}
|
||||
public void setTotalAmount(BigDecimal totalAmount)
|
||||
{
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public BigDecimal getTotalAmount()
|
||||
{
|
||||
return totalAmount;
|
||||
}
|
||||
public void setExeTime(Date exeTime)
|
||||
{
|
||||
this.exeTime = exeTime;
|
||||
@@ -188,7 +175,6 @@ public class UsdtAggregationTask extends BaseEntity
|
||||
.append("createdAt", getCreatedAt())
|
||||
.append("updatedAt", getUpdatedAt())
|
||||
.append("deletedAt", getDeletedAt())
|
||||
.append("totalAmount", getTotalAmount())
|
||||
.append("exeTime", getExeTime())
|
||||
.append("verifyStatus", getVerifyStatus())
|
||||
.append("distTokenAddress", getDistTokenAddress())
|
||||
|
||||
@@ -52,9 +52,6 @@ public class UsdtAggregationTaskPlus implements Serializable
|
||||
private Date updatedAt;
|
||||
/** 删除时间 */
|
||||
private Date deletedAt;
|
||||
/** 提现总金额 */
|
||||
@Excel(name = "提现总金额")
|
||||
private BigDecimal totalAmount;
|
||||
/** 执行时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
@@ -146,15 +143,6 @@ public class UsdtAggregationTaskPlus implements Serializable
|
||||
{
|
||||
return deletedAt;
|
||||
}
|
||||
public void setTotalAmount(BigDecimal totalAmount)
|
||||
{
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public BigDecimal getTotalAmount()
|
||||
{
|
||||
return totalAmount;
|
||||
}
|
||||
public void setExeTime(Date exeTime)
|
||||
{
|
||||
this.exeTime = exeTime;
|
||||
@@ -195,7 +183,6 @@ public class UsdtAggregationTaskPlus implements Serializable
|
||||
.append("createdAt", getCreatedAt())
|
||||
.append("updatedAt", getUpdatedAt())
|
||||
.append("deletedAt", getDeletedAt())
|
||||
.append("totalAmount", getTotalAmount())
|
||||
.append("exeTime", getExeTime())
|
||||
.append("verifyStatus", getVerifyStatus())
|
||||
.append("distTokenAddress", getDistTokenAddress())
|
||||
|
||||
@@ -3,6 +3,7 @@ package com.ruoyi.system.domain;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
@@ -61,6 +62,7 @@ public class WalletAddress extends BaseEntity
|
||||
private String tokenIndex;
|
||||
|
||||
@Excel(name = "token key")
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String tokenKey;
|
||||
|
||||
/** usdt余额 */
|
||||
|
||||
@@ -3,6 +3,7 @@ package com.ruoyi.system.domain;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
@@ -112,6 +113,7 @@ public class WalletAddressPlus implements Serializable
|
||||
private Long votedNum;
|
||||
|
||||
@Excel(name = "token key")
|
||||
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
|
||||
private String tokenKey;
|
||||
|
||||
/** 质押还剩能用的带宽 */
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.ruoyi.system.domain.vo;
|
||||
|
||||
import lombok.Data;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -27,6 +28,7 @@ public class TronAccountItem implements Serializable {
|
||||
* 私钥(Hex)
|
||||
* 示例:xxxx
|
||||
*/
|
||||
@JsonIgnore
|
||||
private String privateKey;
|
||||
|
||||
private String path;
|
||||
@@ -41,6 +43,7 @@ public class TronAccountItem implements Serializable {
|
||||
* Base58 私钥
|
||||
* 示例:xxx
|
||||
*/
|
||||
@JsonIgnore
|
||||
private String privateKeyBase58;
|
||||
|
||||
public TronAccountItem() {
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.ruoyi.system.domain.vo;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/** 管理端钱包操作请求;私钥不允许从请求传入。 */
|
||||
public class WalletOperationRequest {
|
||||
private Long walletId;
|
||||
private String toAddress;
|
||||
private BigDecimal amount;
|
||||
private Integer resourceCode;
|
||||
private Boolean broadcast;
|
||||
|
||||
public Long getWalletId() { return walletId; }
|
||||
public void setWalletId(Long walletId) { this.walletId = walletId; }
|
||||
public String getToAddress() { return toAddress; }
|
||||
public void setToAddress(String toAddress) { this.toAddress = toAddress; }
|
||||
public BigDecimal getAmount() { return amount; }
|
||||
public void setAmount(BigDecimal amount) { this.amount = amount; }
|
||||
public Integer getResourceCode() { return resourceCode; }
|
||||
public void setResourceCode(Integer resourceCode) { this.resourceCode = resourceCode; }
|
||||
public Boolean getBroadcast() { return broadcast; }
|
||||
public void setBroadcast(Boolean broadcast) { this.broadcast = broadcast; }
|
||||
}
|
||||
Reference in new issue
Block a user