using Admin.NET.Core; /* * @author : 您的名字 * @date : 2024/7/25下午4:58:10 * @desc : 库存快照明细表 */ namespace Admin.NET.Application.Entity { /// /// 库存快照明细表 /// [SugarTable("wms_stock_snapshot_details", "库存快照明细表")] public class WmsStockSnapshotDetails : EntityBase { /// /// 快照ID /// [Required] [SugarColumn(ColumnName = "SnapshotId", ColumnDescription = "快照ID")] public long SnapshotId { get; set; } /// /// 快照日期 /// [SugarColumn(ColumnName = "SnapshotDate", ColumnDescription = "快照日期", Length = 50)] public string? SnapshotDate { get; set; } /// /// 容器Id /// [SugarColumn(ColumnName = "ContainerId", ColumnDescription = "容器Id")] public long? ContainerId { get; set; } /// /// 容器编码 /// [SugarColumn(ColumnName = "ContainerCode", ColumnDescription = "容器编码", Length = 50)] public string? ContainerCode { get; set; } /// /// 关联单号 /// [SugarColumn(ColumnName = "RelationNo", ColumnDescription = "关联单号", Length = 50)] public string? RelationNo { get; set; } /// /// 供应商编号 /// [SugarColumn(ColumnName = "SupplierCode", ColumnDescription = "供应商编号", Length = 50)] public string? SupplierCode { get; set; } /// /// 供应商名称 /// [SugarColumn(ColumnName = "SupplierName", ColumnDescription = "供应商名称", Length = 50)] public string? SupplierName { get; set; } /// /// 收货时间 /// [SugarColumn(ColumnName = "RecordInsertTime", ColumnDescription = "收货时间")] public DateTime? RecordInsertTime { get; set; } /// /// 上架时间 /// [SugarColumn(ColumnName = "OnShelvesTime", ColumnDescription = "上架时间")] public DateTime? OnShelvesTime { get; set; } /// /// 下架时间 /// [SugarColumn(ColumnName = "OffShelvesTime", ColumnDescription = "下架时间")] public DateTime? OffShelvesTime { get; set; } /// /// 物料编码 /// [Required] [SugarColumn(ColumnName = "MaterialCode", ColumnDescription = "物料编码", Length = 50)] public string MaterialCode { get; set; } /// /// 物料名称 /// [SugarColumn(ColumnName = "MaterialName", ColumnDescription = "物料名称", Length = 50)] public string? MaterialName { get; set; } /// /// 库存单位 /// [SugarColumn(ColumnName = "MaterialUnit", ColumnDescription = "库存单位", Length = 50)] public string? MaterialUnit { get; set; } /// /// 数量 /// [Required] [SugarColumn(ColumnName = "Quantity", ColumnDescription = "数量", Length = 10, DecimalDigits = 3)] public decimal Quantity { get; set; } /// /// 库存状态 /// [Required] [SugarColumn(ColumnName = "StockStatus", ColumnDescription = "库存状态")] public int StockStatus { get; set; } /// /// 库存状态名称 /// [Required] [SugarColumn(ColumnName = "StockStatusName", ColumnDescription = "库存状态名称", Length = 50)] public string StockStatusName { get; set; } /// /// 历史库存状态 /// [SugarColumn(ColumnName = "OldStockStatus", ColumnDescription = "历史库存状态")] public int? OldStockStatus { get; set; } /// /// 历史库存状态名称 /// [SugarColumn(ColumnName = "OldStockStatusName", ColumnDescription = "历史库存状态名称", Length = 50)] public string? OldStockStatusName { get; set; } /// /// 冻结状态 /// [Required] [SugarColumn(ColumnName = "LockStatus", ColumnDescription = "冻结状态")] public int LockStatus { get; set; } /// /// 操作原因 /// [SugarColumn(ColumnName = "OperReason", ColumnDescription = "操作原因", Length = 255)] public string? OperReason { get; set; } /// /// 操作人 /// [SugarColumn(ColumnName = "OperUser", ColumnDescription = "操作人", Length = 50)] public string? OperUser { get; set; } /// /// 操作时间 /// [SugarColumn(ColumnName = "OperTime", ColumnDescription = "操作时间")] public DateTime? OperTime { get; set; } /// /// 一维条码 /// [SugarColumn(ColumnName = "SN_1d", ColumnDescription = "一维条码", Length = 255)] public string? SN_1d { get; set; } /// /// 二维条码 /// [SugarColumn(ColumnName = "SN_2d", ColumnDescription = "二维条码", Length = 255)] public string? SN_2d { get; set; } /// /// 跟踪码 /// [Required] [SugarColumn(ColumnName = "SNCode", ColumnDescription = "跟踪码", Length = 255)] public string SNCode { get; set; } /// /// 源跟踪码 /// [Required] [SugarColumn(ColumnName = "SourceSNCode", ColumnDescription = "源跟踪码", Length = 255)] public string SourceSNCode { get; set; } /// /// 跟踪码最大索引 /// [Required] [SugarColumn(ColumnName = "MaxIndex", ColumnDescription = "跟踪码最大索引")] public int MaxIndex { get; set; } /// /// ERP凭证 /// [SugarColumn(ColumnName = "ErpVoucher", ColumnDescription = "ERP凭证", Length = 255)] public string? ErpVoucher { get; set; } /// /// ERP单号 /// [SugarColumn(ColumnName = "ErpOrderNo", ColumnDescription = "ERP单号", Length = 50)] public string? ErpOrderNo { get; set; } /// /// ERP库存地 /// [SugarColumn(ColumnName = "ErpCode", ColumnDescription = "ERP库存地", Length = 50)] public string? ErpCode { get; set; } /// /// 供应商批次 /// [SugarColumn(ColumnName = "SupplierBatch", ColumnDescription = "供应商批次", Length = 50)] public string? SupplierBatch { get; set; } /// /// 批次 /// [SugarColumn(ColumnName = "Batch", ColumnDescription = "批次", Length = 255)] public string? Batch { get; set; } /// /// 质检状态 /// [SugarColumn(ColumnName = "QCStatus", ColumnDescription = "质检状态")] public int? QCStatus { get; set; } /// /// 质检状态名称 /// [SugarColumn(ColumnName = "QCStatusName", ColumnDescription = "质检状态名称", Length = 50)] public string? QCStatusName { get; set; } /// /// 仓库编号 /// [SugarColumn(ColumnName = "WarehouseCode", ColumnDescription = "仓库编号", Length = 50)] public string? WarehouseCode { get; set; } /// /// 仓库名称 /// [SugarColumn(ColumnName = "WarehouseName", ColumnDescription = "仓库名称", Length = 50)] public string? WarehouseName { get; set; } /// /// 库区编号 /// [SugarColumn(ColumnName = "AreaCode", ColumnDescription = "库区编号", Length = 50)] public string? AreaCode { get; set; } /// /// 库区名称 /// [SugarColumn(ColumnName = "AreaName", ColumnDescription = "库区名称", Length = 50)] public string? AreaName { get; set; } /// /// 库位编号 /// [SugarColumn(ColumnName = "PlaceCode", ColumnDescription = "库位编号", Length = 50)] public string? PlaceCode { get; set; } /// /// 库位名称 /// [SugarColumn(ColumnName = "PlaceName", ColumnDescription = "库位名称", Length = 50)] public string? PlaceName { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 255)] public string? Remarks { get; set; } } }