package com.cyl.h5.pojo.vo.form;

import com.cyl.h5.pojo.dto.OrderProductListDTO;
import com.cyl.h5.pojo.dto.PetOrderServiceDTO;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class OrderSubmitForm {
    @NotNull
    private Long addressId;
    private String note;
    /** 支付方式 0：未支付 1：支付宝 2：微信  默认微信 */
    private Integer payType = 2;
    /** 订单来源，购物车则为cart */
    private String from;
    /** 订单来源，购物车则为cart */
    private String totalPrice;

    /** 下单方式 */
    private String orderMethod;

    /** 伴宠师ID */
    private Long servicerId;

    @NotEmpty
    private List<OrderProductListDTO> skuList;
    @Data
    public static class SkuParam {
        private Long skuId;
        private Integer quantity;
    }

    /** 是否提前熟悉 */
    private Boolean needPreFamiliarize;

    /** 选中的优惠券 */
    private Integer couponId;

    // 1、选中的宠物、2服务日期3、期望时间     private List<OrderProductListDTO> skuList;
    /** 宠物服务列表 */
    private List<PetOrderServiceDTO> petOrderServices;




    //指定伴宠师
    private Long teacherId;

    //伴宠师等级
    private Integer companionLevel;

}
