|
@@ -1,5 +1,6 @@
|
|
|
package com.hwrj.cloud.admin.dto.param;
|
|
|
|
|
|
+import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
import lombok.Data;
|
|
|
|
|
|
import java.io.Serializable;
|
|
@@ -11,67 +12,84 @@ public class PmsProductExcel implements Serializable {
|
|
|
|
|
|
* 商品名称
|
|
|
*/
|
|
|
+ @ExcelProperty("产品名称")
|
|
|
private String name;
|
|
|
|
|
|
* 品牌名称
|
|
|
*/
|
|
|
+ @ExcelProperty("产品品牌")
|
|
|
private String brandName;
|
|
|
|
|
|
* 类型名称
|
|
|
*/
|
|
|
+ @ExcelProperty("类型")
|
|
|
private String productCategoryName;
|
|
|
|
|
|
* 商品图片
|
|
|
*/
|
|
|
+ @ExcelProperty("产品图片")
|
|
|
private String pic;
|
|
|
|
|
|
*规格
|
|
|
*/
|
|
|
+ @ExcelProperty("产品规格")
|
|
|
private String spec;
|
|
|
|
|
|
* 单位
|
|
|
*/
|
|
|
+ @ExcelProperty("包装")
|
|
|
private String unit;
|
|
|
|
|
|
|
|
|
* 产品标准代号
|
|
|
* */
|
|
|
+ @ExcelProperty("产品标准代号")
|
|
|
private String productSn;
|
|
|
|
|
|
* 零售价格
|
|
|
*/
|
|
|
+ @ExcelProperty("零售价格(元)")
|
|
|
private BigDecimal price;
|
|
|
|
|
|
* 批发价
|
|
|
*/
|
|
|
+ @ExcelProperty("批发价格(元)")
|
|
|
private BigDecimal tradePrice;
|
|
|
|
|
|
* 生产日期
|
|
|
*/
|
|
|
- private int dateOfManufacture;
|
|
|
+
|
|
|
+ @ExcelProperty("生产日期(年/月/日)")
|
|
|
+ private String dateOfManufacture;
|
|
|
|
|
|
* 保质期
|
|
|
*/
|
|
|
+ @ExcelProperty("保质期")
|
|
|
private String qualityGuaranteePeriod;
|
|
|
|
|
|
* 生产地
|
|
|
* */
|
|
|
+ @ExcelProperty("生产日期(年/月/日)")
|
|
|
private String placeOfProduction;
|
|
|
|
|
|
* 供应商
|
|
|
*/
|
|
|
+ @ExcelProperty("供应商")
|
|
|
private String umsCompanyInfo;
|
|
|
|
|
|
* 商品描述
|
|
|
*/
|
|
|
+ @ExcelProperty("产品简介")
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
* 使用说明
|
|
|
* */
|
|
|
+ @ExcelProperty("使用说明")
|
|
|
private String instructions;
|
|
|
|
|
|
* 注意事项
|
|
|
* */
|
|
|
+ @ExcelProperty("注意事项")
|
|
|
private String pointsForAttention;
|
|
|
}
|