package com.xxfc.platform.order.pojo.order;

import com.github.wxiaoqi.security.admin.feign.dto.AppUserDTO;
import com.xxfc.platform.activity.entity.Coupon;
import com.xxfc.platform.order.entity.BaseOrder;
import com.xxfc.platform.order.entity.OrderItem;
import com.xxfc.platform.order.entity.inter.OrderDetail;
import com.xxfc.platform.order.entity.OrderRentVehicleDetail;
import com.xxfc.platform.order.pojo.OrderAccompanyDTO;
import com.xxfc.platform.vehicle.entity.VehicleModel;
import com.xxfc.platform.vehicle.pojo.BookVehicleVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class RentVehicleBO extends OrderRentVehicleDetail implements OrderDetail {
    private BaseOrder order;
    private VehicleModel vehicleModel;
    private BookVehicleVO bookVehicleVO;
    /**
     * 是否使用出租免费天数
     */
    private Integer rentFreeDay;
    private AppUserDTO appUserDTO;

    /**
     * 下单来源，1--app；2--小程序
     */
    private Integer orderOrigin;

    /**
     * 优惠券*
     */
    private List<String> tickerNo;

    /**
     * 订单子项
     */
    List<OrderItem> items;

    @ApiModelProperty(value = "随车物品", hidden = true)
    private List<OrderAccompanyDTO> accompanyItems;
}
