parent
d7daf7a7bd
commit
176f9f63cf
2 changed files with 196 additions and 0 deletions
@ -0,0 +1,171 @@ |
||||
package org.springblade.wms.excel; |
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty; |
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
import com.alibaba.excel.annotation.write.style.ContentRowHeight; |
||||
import com.alibaba.excel.annotation.write.style.HeadRowHeight; |
||||
import lombok.Data; |
||||
|
||||
import java.io.Serial; |
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* @version 1.0 |
||||
* @program: jonhon-mes-svr |
||||
* @ClassName StStoreBillExcel |
||||
* @description: 仓库凭证 Excel实体类 |
||||
* @autor: WuSiYu |
||||
* @create 2026-01-15 13:25 |
||||
**/ |
||||
|
||||
@Data |
||||
@ColumnWidth(25) |
||||
@HeadRowHeight(20) |
||||
@ContentRowHeight(18) |
||||
public class StStoreBillExcel implements Serializable { |
||||
|
||||
@Serial |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 凭证分类;1,物料入库;2,物料出库;3,借用;4,归还;5,调出;6,调入;7,提请 ; |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("凭证分类;1,物料入库;2,物料出库;3,借用;4,归还;5,调出;6,调入;7,提请 ;") |
||||
private Long billFlag; |
||||
/** |
||||
* 收发标志;true:入库,false:出库 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("收发标志;true:入库,false:出库") |
||||
private String reCeOrSend; |
||||
/** |
||||
* 物料信息 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("物料信息") |
||||
private String goodsId; |
||||
/** |
||||
* 数量 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("数量") |
||||
private Double quantity; |
||||
/** |
||||
* 批号 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("批号") |
||||
private String piNo; |
||||
/** |
||||
* 金额 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("金额") |
||||
private Double money; |
||||
/** |
||||
* 使用次数 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("使用次数") |
||||
private Long useNum; |
||||
/** |
||||
* 检验编码 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("检验编码") |
||||
private String checkCode; |
||||
/** |
||||
* 主键 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("主键") |
||||
private Long id; |
||||
/** |
||||
* 租户ID |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("租户ID") |
||||
private String tenantId; |
||||
/** |
||||
* 是否已删除 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("是否已删除") |
||||
private Long isDeleted; |
||||
/** |
||||
* 凭证单号 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("凭证单号") |
||||
private String billCode; |
||||
/** |
||||
* 凭证日期 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("凭证日期") |
||||
private Date billDate; |
||||
/** |
||||
* 部门;外键(部门) |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("部门;外键(部门)") |
||||
private Long deptId; |
||||
/** |
||||
* 人员;外键(人员) |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("人员;外键(人员)") |
||||
private Long billMan; |
||||
/** |
||||
* 原因;外键(原因) |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("原因;外键(原因)") |
||||
private String bcId; |
||||
/** |
||||
* 来源;0:正常;1:采购;2:生产; |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("来源;0:正常;1:采购;2:生产;") |
||||
private Long billSource; |
||||
/** |
||||
* 备注 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("备注") |
||||
private String memo; |
||||
/** |
||||
* 仓库;外键(仓库) |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("仓库;外键(仓库)") |
||||
private Long stoId; |
||||
/** |
||||
* 状态;1:新建,20:完成 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("状态;1:新建,20:完成") |
||||
private Long curStatus; |
||||
/** |
||||
* 到期日期 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("到期日期") |
||||
private Date expirationDate; |
||||
/** |
||||
* 库位ID |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("库位ID") |
||||
private Long slId; |
||||
/** |
||||
* 库房ID |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("库房ID") |
||||
private Long shId; |
||||
|
||||
} |
||||
|
||||
@ -0,0 +1,25 @@ |
||||
package org.springblade.wms.pojo.vo; |
||||
|
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.wms.pojo.entity.StStoreBill; |
||||
|
||||
import java.io.Serial; |
||||
|
||||
/** |
||||
* @version 1.0 |
||||
* @program: jonhon-mes-svr |
||||
* @ClassName StStoreBillVO |
||||
* @description: 仓库凭证 视图实体类 |
||||
* @autor: WuSiYu |
||||
* @create 2026-01-15 13:24 |
||||
**/ |
||||
|
||||
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class StStoreBillVO extends StStoreBill { |
||||
@Serial |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
} |
||||
|
||||
Loading…
Reference in new issue