You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
879 B
37 lines
879 B
package com.example.demo.domain.DTO;
|
|
|
|
/**
|
|
* @program: gold-java
|
|
* @ClassName PaymentDTO
|
|
* @description:
|
|
* @author: Double
|
|
* @create: 2025−11-21 10:42
|
|
* @Version 1.0
|
|
**/
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
|
|
@Data
|
|
@NoArgsConstructor
|
|
public class PaymentDTO {
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
|
|
private Date time;
|
|
private String type;
|
|
private String provider;
|
|
private String request_reference;
|
|
private String merchant_reference;
|
|
private String provider_reference;
|
|
private String currency;
|
|
private BigDecimal order_amount;
|
|
private BigDecimal charge;
|
|
private BigDecimal net_amount;
|
|
private String status;
|
|
private String created_time;
|
|
private String completed_time;
|
|
}
|