package org.dromara.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.system.domain.TblDzbcCargoItem;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TblDzbcCargoItem.class)
public class TblDzbcCargoItemVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "编号")
    private Long id;

    @ExcelProperty(value = "订单ID")
    private Long orderId;

    @ExcelProperty(value = "订单编号")
    private String orderNo;

    @ExcelProperty(value = "货物名称")
    private String cargoName;

    @ExcelProperty(value = "货物类型")
    private String cargoType;

    @ExcelProperty(value = "数量")
    private Integer quantity;

    @ExcelProperty(value = "单位")
    private String unit;

    @ExcelProperty(value = "重量（kg）")
    private BigDecimal weight;

    @ExcelProperty(value = "长度（cm）")
    private BigDecimal length;

    @ExcelProperty(value = "宽度（cm）")
    private BigDecimal width;

    @ExcelProperty(value = "高度（cm）")
    private BigDecimal height;

    @ExcelProperty(value = "价值（元）")
    private BigDecimal value;

    @ExcelProperty(value = "图片地址")
    private String imageUrls;

    @ExcelProperty(value = "备注")
    private String remark;

    @ExcelProperty(value = "扩展1")
    private String ext1;

    @ExcelProperty(value = "扩展2")
    private String ext2;
}
