package com.ruoyi.controller.resp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.frequency.mallordergoods.entity.MallOrderGoods;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @author a
 * @date 2023/2/15 10:41
 */
@Data
public class MallOrderPageResp {

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("订单状态")
    private Integer orderStatus;

    @ApiModelProperty("订单总价")
    private BigDecimal goodsPrice;

    @ApiModelProperty("订单实付金额")
    private BigDecimal payPrice;

    @ApiModelProperty("是否是售后 1不是 2 是")
    private Integer isRefund;

    @ApiModelProperty("售后状态 1申请退款退货，2商家同意退款退货，3 用户发货 4 商家确认收货 5 商家拒绝退款退货")
    private Integer refundStatus;

    @ApiModelProperty("订单积分")
    private BigDecimal integralPrice;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("订单商品")
    private List<MallOrderGoods> orderGoodsList;

    @ApiModelProperty("发货时间time")
    private Date sendTime;

    @ApiModelProperty("收货时间time")
    private Date receiveTime;

    @ApiModelProperty("完成时间time")
    private Date completeTime;

    @ApiModelProperty("发货物流单号")
    private String sendComCourierId;

    @ApiModelProperty("发货物流公司")
    private String sendComLogistics;

    @ApiModelProperty("发货物流公司编码")
    private String sendComLogisticsCode;


    @ApiModelProperty("开始时间")
    @TableField(exist = false)
    private Date beginTime;

    @ApiModelProperty("结束时间")
    @TableField(exist = false)
    private Date endTime;
}
