parent
b7520ed38e
commit
e466112f39
@ -0,0 +1,106 @@ |
||||
package com.hfkj.openapi.v1.model; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import com.alibaba.excel.annotation.write.style.ContentStyle; |
||||
import com.alibaba.excel.annotation.write.style.HeadFontStyle; |
||||
import lombok.Data; |
||||
import org.apache.poi.ss.usermodel.HorizontalAlignment; |
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* 交易账单模型 |
||||
* @className: TradeBillsModel |
||||
* @author: HuRui |
||||
* @date: 2023/5/25 |
||||
**/ |
||||
@Data |
||||
public class TradeDetailBillsModel { |
||||
|
||||
@ColumnWidth(10) |
||||
@ExcelProperty("序号") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private Long serialNumber; |
||||
|
||||
@ColumnWidth(25) |
||||
@ExcelProperty("商户号") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private String merchantNo; |
||||
|
||||
@ColumnWidth(30) |
||||
@ExcelProperty("商户名称") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private String merchantName; |
||||
|
||||
@ColumnWidth(25) |
||||
@ExcelProperty("交易日期") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private Date tradeTime; |
||||
|
||||
@ColumnWidth(15) |
||||
@ExcelProperty("交易金额") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private String tradeAmount; |
||||
|
||||
@ColumnWidth(15) |
||||
@ExcelProperty("交易手续费") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private String shdFeeAmt; |
||||
|
||||
@ColumnWidth(15) |
||||
@ExcelProperty("结算金额") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private String settleAmount; |
||||
|
||||
@ColumnWidth(15) |
||||
@ExcelProperty("交易类型") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private String tradeType; |
||||
|
||||
@ColumnWidth(15) |
||||
@ExcelProperty("支付渠道") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private String payMode; |
||||
|
||||
@ColumnWidth(35) |
||||
@ExcelProperty("商户订单号") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private String outTradeNo; |
||||
|
||||
@ColumnWidth(35) |
||||
@ExcelProperty("渠道订单号") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private String accTradeNo; |
||||
|
||||
@ColumnWidth(15) |
||||
@ExcelProperty("清算日期") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private String settleDate; |
||||
|
||||
@ColumnWidth(15) |
||||
@ExcelProperty("手续费率") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private String feeRate; |
||||
|
||||
@ColumnWidth(35) |
||||
@ExcelProperty("原商户订单号") |
||||
@HeadFontStyle(bold = true) |
||||
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER) |
||||
private String orgOutTradeNo; |
||||
|
||||
|
||||
} |
@ -0,0 +1,40 @@ |
||||
package com.hfkj.openapi.v1.model.request; |
||||
|
||||
import lombok.Data; |
||||
|
||||
import javax.validation.constraints.NotBlank; |
||||
|
||||
/** |
||||
* 请求账单下载模型 |
||||
* @className: TradePreorderModel |
||||
* @author: HuRui |
||||
* @date: 2023/5/23 |
||||
**/ |
||||
@Data |
||||
public class RequestTradeSettleBillsModel { |
||||
|
||||
/** |
||||
* 商户号 |
||||
*/ |
||||
@NotBlank(message = "商户号必填项") |
||||
private String merchantNo; |
||||
|
||||
/** |
||||
* 报表开始时间 |
||||
*/ |
||||
@NotBlank(message = "开始时间必填项") |
||||
private Long billDateS; |
||||
|
||||
/** |
||||
* 报表结束时间 |
||||
*/ |
||||
@NotBlank(message = "结束时间必填项") |
||||
private Long billDateE; |
||||
|
||||
/** |
||||
* 签名参数 |
||||
*/ |
||||
@NotBlank(message = "签名必填项") |
||||
private String sign; |
||||
|
||||
} |
Loading…
Reference in new issue