This commit is contained in:
2026-01-09 11:22:54 +08:00
9 changed files with 719 additions and 11 deletions

View File

@@ -61,4 +61,47 @@ namespace DOAN.Model.BZFM.Dto
}
// <summary>
/// 库存管理导入导出
/// </summary>
[SugarTable("mm_inventory", "库存管理")]
public class MmInventoryExcelDto
{
[ExcelColumn(Name = "id")]
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
public int Id { get; set; }
[ExcelColumn(Name = "物料编码")]
[SugarColumn(ColumnName = "material_code")]
public string MaterialCode { get; set; }
[ExcelColumn(Name = "批次号")]
[SugarColumn(ColumnName = "batch_no")]
public string BatchNo { get; set; }
[ExcelColumn(Name = "当前库存量")]
[SugarColumn(ColumnName = "current_qty")]
public decimal CurrentQty { get; set; }
[ExcelColumn(Name = "仓库编码")]
[SugarColumn(ColumnName = "warehouse_code")]
public string WarehouseCode { get; set; }
[ExcelColumn(Name = "仓库名称")]
[SugarColumn(ColumnName = "warehouse_name")]
public string WarehouseName { get; set; }
[ExcelColumn(Name = "库位编码")]
[SugarColumn(ColumnName = "location_code")]
public string LocationCode { get; set; }
[ExcelColumn(Name = "库位名称")]
[SugarColumn(ColumnName = "location_name")]
public string LocationName { get; set; }
[ExcelColumn(Name = "创建时间")]
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
}
}