package com.ruoyi.sales.dto;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.alibaba.excel.annotation.format.DateTimeFormat;
|
import io.swagger.annotations.ApiModel;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
/**
|
* 过磅记录Excel导入导出DTO
|
*/
|
@Data
|
@ApiModel(value = "WeighingRecordExcelDto", description = "过磅记录Excel导入导出")
|
public class WeighingRecordExcelDto {
|
|
@ExcelProperty(value = "流水号")
|
private String serialNo;
|
|
@ExcelProperty(value = "车号")
|
private String carNo;
|
|
@ExcelProperty(value = "发货单位")
|
private String shipUnit;
|
|
@ExcelProperty(value = "收货单位")
|
private String receiveUnit;
|
|
@ExcelProperty(value = "货名")
|
private String goodsName;
|
|
@ExcelProperty(value = "规格")
|
private String specification;
|
|
@ExcelProperty(value = "毛重")
|
private BigDecimal grossWeight;
|
|
@ExcelProperty(value = "皮重")
|
private BigDecimal tareWeight;
|
|
@ExcelProperty(value = "净重")
|
private BigDecimal netWeight;
|
|
@ExcelProperty(value = "一次过磅时间")
|
@DateTimeFormat("yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime firstWeighTime;
|
|
@ExcelProperty(value = "二次过磅时间")
|
@DateTimeFormat("yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime secondWeighTime;
|
|
@ExcelProperty(value = "原发")
|
private String originalSender;
|
|
@ExcelProperty(value = "更新人")
|
private String updateBy;
|
}
|