package com.cool.store.vo.order;

import com.alibaba.excel.annotation.ExcelProperty;
import com.cool.store.converter.ConfigItemListConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 订单设备明细VO
 */
@Data
public class OrderDeviceDetailVO {

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

    @ApiModelProperty("费用名称")
    @ExcelProperty(value = "费用类型", index = 0)
    private String expenseTypeName;

    @ApiModelProperty("配置项列表")
    @ExcelProperty(value = "配置项", index = 1, converter = ConfigItemListConverter.class)
    private List<OrderDeviceConfigItemVO> items;

}
