package com.xiaoniu.system.platformusers.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author haoxuyang
 * @Date 2024/10/19 18:20
 */
@Data
@Schema(description = "用户订单详情响应参数VO")
public class UserOrderInfoVO {

    @Schema(description = "订单id")
    private Long orderId;

    @Schema(description = "用户昵称")
    private String nickName;

    @Schema(description = "用户手机号")
    private String phoneNumber;

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

    @Schema(description = "商品类型")
    private String goodsType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Schema(description = "创建",hidden = true)
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Schema(description = "支付时间")
    private Date payTime;

    @Schema(description = "商品名称")
    private String goodsName;

    @Schema(description = "商品数量")
    private String goodsNum;

    @Schema(description = "商品单价")
    private String goodsPricing;

    @Schema(description = "订单状态 0待支付 1待发货 2待使用 3已完成 4待评价 5退款/售后 6已结算 7未成团 8已成团 9进行中 10已评论 90已取消")
    private Integer status;

    @Schema(description = "订单实际金额")
    private BigDecimal actualAmount;

    @Schema(description = "优惠金额")
    private BigDecimal discountAmount;

    @Schema(description = "优惠明细")
    private String discountDetails;

    @Schema(description = "核销门店")
    private String storeName;

    @Schema(description = "门店负责人和联系方式")
    private String person;

    @Schema(description = "关联车辆")
    private String associatedVehicles;


}
