This commit is contained in:
menxipeng
2025-10-28 21:41:12 +08:00
parent 1eb298f3c9
commit 959c94193e
4 changed files with 210 additions and 34 deletions

View File

@@ -2,57 +2,61 @@ package com.ruoyi.common.core.domain.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
* 订单信息VO
*
*
* @author ruoyi
* @date 2025-01-27
*/
@Data
public class OrderInfoVO {
/** 订单号 */
@Excel(name = "订单号")
private Long orderId;
/** 用户昵称 */
@Excel(name = "用户昵称")
private String userNickname;
/** 套餐名称 */
@Excel(name = "套餐名称")
private String packageName;
/** 支付金额(元) */
@Excel(name = "支付金额(元)")
private BigDecimal amountYuan;
/** 支付方式 */
@Excel(name = "支付方式")
private String payTypeName;
/** 开通时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "开通时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date startTime;
/** 到期时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date endTime;
/** 订单状态 */
@Excel(name = "订单状态")
private String statusName;
/** 创建时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
private String phone;
public Long getOrderId() {
return orderId;
}
@@ -124,4 +128,4 @@ public class OrderInfoVO {
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
}
}