yang_shj
9 months ago
18 changed files with 257 additions and 19 deletions
@ -0,0 +1,61 @@
|
||||
package com.hnac.hzims.spare.vo; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import com.hnac.hzims.spare.entity.SpWarehouseOutEntity; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.util.Date; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* 模型VO |
||||
* |
||||
* @author Chill |
||||
*/ |
||||
@Data |
||||
public class SpWarehouseExportVO { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
/** |
||||
* 单据号 |
||||
*/ |
||||
@ColumnWidth(25) |
||||
@ExcelProperty(value = "单据编码", index = 0) |
||||
@ApiModelProperty(value = "单据号") |
||||
private String code; |
||||
|
||||
/** |
||||
* 仓库名称 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty(value = "出库库房", index = 1) |
||||
@ApiModelProperty(value = "仓库名称") |
||||
private String warehouseName; |
||||
/** |
||||
* 出库类型名称 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty(value = "出库类型", index = 2) |
||||
@ApiModelProperty(value = "出库类型名称") |
||||
private String typeName; |
||||
/** |
||||
* 用户名称 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty(value = "领用人", index = 3) |
||||
@ApiModelProperty(value = "用户名称") |
||||
private String userName; |
||||
|
||||
@DateTimeFormat( |
||||
pattern = "yyyy-MM-dd HH:mm:ss" |
||||
) |
||||
@ColumnWidth(20) |
||||
@ExcelProperty(value = "出库时间", index = 4) |
||||
@ApiModelProperty("创建时间") |
||||
private String createTime; |
||||
|
||||
} |
Loading…
Reference in new issue