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:10
 */
@Data
@Schema(description = "用户订单列表响应参数VO")
public class UserOrderListVO {
    @Schema(description = "订单id")
    private Long orderId;

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

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

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

    @Schema(description = "订单类型")
    private String orderType;

    @Schema(description = "下单数量")
    private Integer orderNum;

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

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

    @Schema(description = "所属门店")
    private String storeName;

}
