/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.bean.app.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("我的订单")
public class MyOrderDto {

    @ApiModelProperty(value = "订单项", required = true)
    private List<MyOrderItemDto> orderItemDtos;

    @ApiModelProperty(value = "订单号", required = true)
    private String orderNumber;

    @ApiModelProperty(value = "总价", required = true)
    private Double actualTotal;

    @ApiModelProperty(value = "使用积分", required = true)
    private Integer userScore=0;

    @ApiModelProperty(value = "订单状态", required = true)
    private Integer status;

    @ApiModelProperty(value = "订单类型(0普通订单 1团购订单 2秒杀订单)", required = true)
    private Integer orderType;

    @ApiModelProperty(value = "退款单类型（1:整单退款,2:单个物品退款）", required = true)
    private Integer refundType;

    @ApiModelProperty(value = "处理退款状态:(1.买家申请 2.卖家接受 3.买家发货 4.卖家收货 5.退款成功 6.买家撤回申请 7.商家拒绝 -1.退款关闭)", required = true)
    private Integer returnMoneySts;

    @ApiModelProperty(value = "店铺名称", required = true)
    private String shopName;

    @ApiModelProperty(value = "店铺id", required = true)
    private Long shopId;

    @ApiModelProperty(value = "订单运费", required = true)
    private Double freightAmount;

    private Double latitude;

    private Double longitude;

    @ApiModelProperty(value = "订单创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "订单预计送达日期", required = true, example = "3月8日")
    private String estimatedTimeStr;

    @ApiModelProperty(value = "订单预计送达时间", required = true, example = "10:40")
    private String estimatedTime;

    @ApiModelProperty(value = "订单支付时间", required = true)
    private Date payTime;

    @ApiModelProperty(value = "订单支付的积分")
    private Long offsetPoints;

    @ApiModelProperty(value = "海博物流状态")
    private Integer hbLogisticStatus;

    @ApiModelProperty(value = "海博订单状态")
    private Integer hbOrderStatus;

    @ApiModelProperty(value = "配送类型 1:快递 3：及时配送")
    private Integer dvyType;

    /**
     * 评论状态： 0 未评价  1 已评价
     */
    @ApiModelProperty(value = "评论状态： 0 未评价  1 已评价")
    private Integer commSts;
}
