package com.ruoyi.system.domain; import java.math.BigDecimal; import java.util.Date; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.fasterxml.jackson.annotation.JsonFormat; 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; /** * 订单对象 orders * * @author luqj * @date 2025-12-04 */ @TableName(value = "orders") public class UsdtOrdersPlus implements Serializable { private static final long serialVersionUID = 1L; /** 主键 */ @TableId(type = IdType.INPUT) private Long id; /** 订单号 */ @Excel(name = "订单号") private String tradeId; /** 交易单号 */ @Excel(name = "交易单号") private String orderId; /** 区块编号 */ @Excel(name = "区块编号") private String blockTransactionId; /** 实际金额 */ @Excel(name = "实际金额") private BigDecimal actualAmount; /** 订单金额 */ @Excel(name = "订单金额") private BigDecimal amount; /** 钱包地址 */ @Excel(name = "钱包地址") private String token; /** 状态 */ @Excel(name = "状态 状态1:等待支付,2:支付成功,3:已过期") private Long status; /** 异步地址 */ @Excel(name = "异步地址") private String notifyUrl; /** 同步地址 */ @Excel(name = "同步地址") private String redirectUrl; /** 回调次数 */ @Excel(name = "回调次数") private Long callbackNum; /** 回调确认 */ @Excel(name = "回调确认") private Long callbackConfirm; /** 创建时间 */ @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; /** 删除时间 */ private Date deletedAt; /** 应用 */ @Excel(name = "应用") private Long appId; /** 结算状态 */ @Excel(name = "结算状态") private Integer settlementStatus; /** 用户 */ @Excel(name = "用户") private Long userId; @Excel(name = "订单类型") private Integer orderType; public Integer getOrderType() { return orderType; } public void setOrderType(Integer orderType) { this.orderType = orderType; } public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setTradeId(String tradeId) { this.tradeId = tradeId; } public String getTradeId() { return tradeId; } public void setOrderId(String orderId) { this.orderId = orderId; } public String getOrderId() { return orderId; } public void setBlockTransactionId(String blockTransactionId) { this.blockTransactionId = blockTransactionId; } public String getBlockTransactionId() { return blockTransactionId; } public void setActualAmount(BigDecimal actualAmount) { this.actualAmount = actualAmount; } public BigDecimal getActualAmount() { return actualAmount; } public void setAmount(BigDecimal amount) { this.amount = amount; } public BigDecimal getAmount() { return amount; } public void setToken(String token) { this.token = token; } public String getToken() { return token; } public void setStatus(Long status) { this.status = status; } public Long getStatus() { return status; } public void setNotifyUrl(String notifyUrl) { this.notifyUrl = notifyUrl; } public String getNotifyUrl() { return notifyUrl; } public void setRedirectUrl(String redirectUrl) { this.redirectUrl = redirectUrl; } public String getRedirectUrl() { return redirectUrl; } public void setCallbackNum(Long callbackNum) { this.callbackNum = callbackNum; } public Long getCallbackNum() { return callbackNum; } public void setCallbackConfirm(Long callbackConfirm) { this.callbackConfirm = callbackConfirm; } public Long getCallbackConfirm() { return callbackConfirm; } 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 setAppId(Long appId) { this.appId = appId; } public Long getAppId() { return appId; } public void setSettlementStatus(Integer settlementStatus) { this.settlementStatus = settlementStatus; } public Integer getSettlementStatus() { return settlementStatus; } public void setUserId(Long userId) { this.userId = userId; } public Long getUserId() { return userId; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("tradeId", getTradeId()) .append("orderId", getOrderId()) .append("blockTransactionId", getBlockTransactionId()) .append("actualAmount", getActualAmount()) .append("amount", getAmount()) .append("token", getToken()) .append("status", getStatus()) .append("notifyUrl", getNotifyUrl()) .append("redirectUrl", getRedirectUrl()) .append("callbackNum", getCallbackNum()) .append("callbackConfirm", getCallbackConfirm()) .append("createdAt", getCreatedAt()) .append("updatedAt", getUpdatedAt()) .append("deletedAt", getDeletedAt()) .append("appId", getAppId()) .append("settlementStatus", getSettlementStatus()) .append("userId", getUserId()) .toString(); } }