package com.ruoyi.bst.order.domain;

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

import com.ruoyi.bst.orderDevice.domain.OrderDeviceVO;

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

@Data
public class OrderVO extends Order {

    // 订单设备
    @ApiModelProperty("当前设备ID")
    private Long deviceId;
    @ApiModelProperty("当前设备MAC")
    private String deviceMac;
    @ApiModelProperty("当前设备SN")
    private String deviceSn;
    @ApiModelProperty("当前设备车牌号")
    private String deviceVehicleNum;
    @ApiModelProperty("当前设备所属用户ID") 
    private Long deviceMchId;
    @ApiModelProperty("结束子区域ID")
    private Long endAreaSubId;
    @ApiModelProperty("结束子区域名称")
    private String endAreaSubName;
    @ApiModelProperty("还车定位方式")
    private String returnMode;
    @ApiModelProperty("还车经度")
    private BigDecimal returnLon;
    @ApiModelProperty("还车纬度")
    private BigDecimal returnLat;
    @ApiModelProperty("订单设备列表")
    private List<OrderDeviceVO> orderDeviceList;

    // 运营区
    @ApiModelProperty("运营区名称")
    private String areaName;

    // 用户
    @ApiModelProperty("用户名称")
    private String userName;
    @ApiModelProperty("用户手机号")
    private String userPhone;

    // 支付
    @ApiModelProperty("支付单号")
    private String payNo;
    @ApiModelProperty("已支付金额")
    private BigDecimal payedAmount;
    @ApiModelProperty("支付已退款金额")
    private BigDecimal payRefunded;
    @ApiModelProperty("支付退款中金额")
    private BigDecimal payRefunding;
    @ApiModelProperty("支付时间")
    private LocalDateTime payTime;
    @ApiModelProperty("支付渠道名称")
    private String payChannelName;
    @ApiModelProperty("自动退款金额")
    private BigDecimal payAutoRefund;
    @ApiModelProperty("管理员退款金额")
    private BigDecimal payAdminRefund;


}
