package com.jeesharp.business.modules.trade.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 统一交易订单简要信息 VO，供内部编排或后续移动端组装使用。
 *
 * @author jeesharp
 * @since 2026-05-08
 */
@Data
@Schema(description = "统一交易订单信息")
public class TradeOrderInfoVO {

    @Schema(description = "主键")
    private String id;

    @Schema(description = "展示订单号")
    private String orderNo;

    @Schema(description = "业务类型")
    private String bizType;

    @Schema(description = "会员ID")
    private String memberId;

    @Schema(description = "列表摘要")
    private String title;

    @Schema(description = "订单总额")
    private BigDecimal totalAmount;

    @Schema(description = "实付金额")
    private BigDecimal payAmount;

    @Schema(description = "统一状态")
    private Integer status;

    @Schema(description = "状态描述")
    private String statusName;

    @Schema(description = "支付单号")
    private String payOrderId;

    @Schema(description = "创建时间")
    private LocalDateTime createDate;

    @Schema(description = "垂直业务单ID（如休闲预约单主键）")
    private String verticalOrderId;
}
