订单
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.ruoyi.common.core.domain.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
@@ -8,6 +10,7 @@ import java.io.Serializable;
|
||||
* @author ruoyi
|
||||
* @date 2025-01-27
|
||||
*/
|
||||
@Data
|
||||
public class OrderCreateRequest implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -16,7 +19,7 @@ public class OrderCreateRequest implements Serializable {
|
||||
private String orderName;
|
||||
|
||||
/** 金额(分) */
|
||||
private Long amount;
|
||||
private String amount;
|
||||
|
||||
/** 支付方式 aliPay/wechatPay/applePay */
|
||||
private String payType;
|
||||
@@ -30,51 +33,4 @@ public class OrderCreateRequest implements Serializable {
|
||||
/** 客户端IP */
|
||||
private String clientIp;
|
||||
|
||||
public String getOrderName() {
|
||||
return orderName;
|
||||
}
|
||||
|
||||
public void setOrderName(String orderName) {
|
||||
this.orderName = orderName;
|
||||
}
|
||||
|
||||
public Long getAmount() {
|
||||
return amount;
|
||||
}
|
||||
|
||||
public void setAmount(Long amount) {
|
||||
this.amount = amount;
|
||||
}
|
||||
|
||||
public String getPayType() {
|
||||
return payType;
|
||||
}
|
||||
|
||||
public void setPayType(String payType) {
|
||||
this.payType = payType;
|
||||
}
|
||||
|
||||
public String getPackageType() {
|
||||
return packageType;
|
||||
}
|
||||
|
||||
public void setPackageType(String packageType) {
|
||||
this.packageType = packageType;
|
||||
}
|
||||
|
||||
public String getDeviceType() {
|
||||
return deviceType;
|
||||
}
|
||||
|
||||
public void setDeviceType(String deviceType) {
|
||||
this.deviceType = deviceType;
|
||||
}
|
||||
|
||||
public String getClientIp() {
|
||||
return clientIp;
|
||||
}
|
||||
|
||||
public void setClientIp(String clientIp) {
|
||||
this.clientIp = clientIp;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.ruoyi.common.core.domain.entity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
@@ -36,7 +37,7 @@ public class OrderInfo extends BaseEntity
|
||||
|
||||
/** 金额 分 */
|
||||
@Excel(name = "金额 分")
|
||||
private Long amount;
|
||||
private BigDecimal amount;
|
||||
|
||||
/** 支付方式 aliPay / wechatPay / applePay */
|
||||
@Excel(name = "支付方式 aliPay / wechatPay / applePay ")
|
||||
|
||||
Reference in New Issue
Block a user