package com.cool.store.vo.order;

import com.alibaba.excel.annotation.ExcelProperty;
import com.cool.store.utils.BeanUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.collections4.CollectionUtils;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

/**
 * 订单设备配置项明细VO
 */
@Data
public class OrderDeviceConfigItemVO {

    @ApiModelProperty("费用类型")
    private String expenseTypeCode;

    @ApiModelProperty("配置大类")
    private String categoryCode;

    @ApiModelProperty("配置大类名称")
    @ExcelProperty(value = "配置大类", index = 1)
    private String categoryName;

    @ApiModelProperty("配置项")
    private String itemCode;

    @ApiModelProperty("配置项名称")
    @ExcelProperty(value = "配置项", index = 2)
    private String itemName;

    @ApiModelProperty("配置选型名称")
    @ExcelProperty(value = "配置项选型", index = 3)
    private String optionName;

    @ApiModelProperty("原单价")
    @ExcelProperty(value = "原单价", index = 3)
    private BigDecimal originalOptionPrice;

    @ApiModelProperty("默认数量")
    @ExcelProperty(value = "优惠数量", index = 3)
    private BigDecimal defaultQuantity;

    @ApiModelProperty("优惠单价")
    @ExcelProperty(value = "优惠单价", index = 3)
    private BigDecimal optionPrice;

    @ApiModelProperty("下单数量")
    @ExcelProperty(value = "下单数量", index = 3)
    private BigDecimal quantity;

    @ApiModelProperty("价格合计")
    @ExcelProperty(value = "价格合计", index = 3)
    private BigDecimal amount;

    @ApiModelProperty("单位")
    private String optionUnit;



}
