package com.xingxi.store.model;

import com.xingxi.store.data.domain.OrderItemDTO;
import com.xingxi.store.data.domain.UserAddressDTO;
import lombok.Getter;
import lombok.Setter;

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


@Getter
@Setter
public class OrderCreateRequest {

    @Deprecated
    private String userAddressId;
    private Long ydtGroupId;

    // 订单类型
    private String orderType;

    @NotNull
    private UserAddressDTO userAddressDTO;

    private List<OrderItemDTO> orderItemDTOS;

}
