parent
157b9871d1
commit
d7daf7a7bd
2 changed files with 117 additions and 0 deletions
@ -0,0 +1,92 @@ |
||||
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; |
||||
|
||||
/** |
||||
* @version 1.0 |
||||
* @program: jonhon-mes-svr |
||||
* @ClassName StStorageLocationExcel |
||||
* @description: 库位维护表 Excel实体类 |
||||
* @autor: WuSiYu |
||||
* @create 2025-12-18 14:37 |
||||
**/ |
||||
|
||||
@Data |
||||
@ColumnWidth(25) |
||||
@HeadRowHeight(20) |
||||
@ContentRowHeight(18) |
||||
public class StStorageLocationExcel implements Serializable { |
||||
|
||||
@Serial |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 主键 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("主键") |
||||
private Long id; |
||||
/** |
||||
* 租户ID(默认值:000000) |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("租户ID(默认值:000000)") |
||||
private String tenantId; |
||||
/** |
||||
* 是否已删除(默认值:0) |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("是否已删除(默认值:0)") |
||||
private Long isDeleted; |
||||
/** |
||||
* 库房ID(关联st_storehouse表) |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("库房ID(关联st_storehouse表)") |
||||
private Long shId; |
||||
/** |
||||
* 库位号 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("库位号") |
||||
private String location; |
||||
/** |
||||
* 物料编号(关联st_goods表goods_code字段) |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("物料编号(关联st_goods表goods_code字段)") |
||||
private String goodsCode; |
||||
/** |
||||
* 物料名称 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("物料名称") |
||||
private String goodsName; |
||||
/** |
||||
* 物料规格 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("物料规格") |
||||
private String specifications; |
||||
/** |
||||
* 型号/牌号 |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("型号/牌号") |
||||
private String materialModel; |
||||
/** |
||||
* 部门ID |
||||
*/ |
||||
@ColumnWidth(20) |
||||
@ExcelProperty("部门ID") |
||||
private Long deptId; |
||||
|
||||
} |
||||
|
||||
@ -0,0 +1,25 @@ |
||||
package org.springblade.wms.pojo.vo; |
||||
|
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import org.springblade.wms.pojo.entity.StStorageLocation; |
||||
|
||||
import java.io.Serial; |
||||
|
||||
/** |
||||
* @version 1.0 |
||||
* @program: jonhon-mes-svr |
||||
* @ClassName StStorageLocationVO |
||||
* @description: 库位维护表 视图实体类 |
||||
* @autor: WuSiYu |
||||
* @create 2025-12-18 14:36 |
||||
**/ |
||||
|
||||
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class StStorageLocationVO extends StStorageLocation { |
||||
@Serial |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
} |
||||
|
||||
Loading…
Reference in new issue