/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 * <p>
 * Use of this software is governed by the Commercial License Agreement
 * obtained after purchasing a license from BladeX.
 * <p>
 * 1. This software is for development use only under a valid license
 * from BladeX.
 * <p>
 * 2. Redistribution of this software's source code to any third party
 * without a commercial license is strictly prohibited.
 * <p>
 * 3. Licensees may copyright their own code but cannot use segments
 * from this software for such purposes. Copyright of this software
 * remains with BladeX.
 * <p>
 * Using this software signifies agreement to this License, and the software
 * must not be used for illegal purposes.
 * <p>
 * Author: Chill Zhuang (bladejava@qq.com)
 */

package org.springblade.transport.excel;

import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.format.NumberFormat;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import cn.idev.excel.annotation.write.style.ContentRowHeight;
import cn.idev.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

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

/**
 * 常用货物导入失败 Excel
 *
 * @author Chill
 */
@Data
@ColumnWidth(24)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class CommonCargoImportFailureExcel implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@ExcelProperty("*一级货物类型")
	private String firstCargoTypeName;

	@ExcelProperty("*二级货物类型编码")
	private String secondCargoTypeCode;

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

	@ExcelProperty("*货物编号后缀")
	private String cargoCodeSuffix;

	@ExcelProperty("品牌")
	private String brand;

	@ExcelProperty("包装")
	private String packageType;

	@ExcelProperty("单价")
	@NumberFormat("0.00")
	private BigDecimal cargoValue;

	@ExcelProperty("规格")
	private String specification;

	@ExcelProperty("计价单位")
	private String priceUnit;

	@ExcelProperty("型号")
	private String model;

	@ExcelProperty("说明1")
	private String descriptionOne;

	@ExcelProperty("尺寸")
	private String sizeText;

	@ExcelProperty("说明2")
	private String descriptionTwo;

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

	@ExcelProperty("导入失败原因")
	private String errorMessage;

}
