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

import com.jeesharp.business.modules.member.vo.MemberOrderDisplay;
import com.jeesharp.framework.pojo.vo.BaseInfoVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 商城订单管理端详情 VO；会员编号、昵称、手机由 {@code MemberService.enrichMemberDisplay} 补全。
 *
 * @author jeesharp
 * @since 2026-06-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MallOrderInfoVO extends BaseInfoVO implements MemberOrderDisplay {

    private String orderNo;

    private String memberId;

    private String memberNo;

    private String memberNickname;

    private String memberMobile;

    private BigDecimal payAmount;

    private BigDecimal freightAmount;

    private String payType;

    /**
     * 支付方式中文名（由 {@link com.jeesharp.business.modules.mall.enums.MallPayTypeEnum} 转换）
     */
    private String payTypeName;

    private String deliveryType;

    private String pickupVerifyCode;

    private Integer status;

    private String receiverName;

    private String receiverMobile;

    private LocalDateTime payTime;
}
