Add WmsLite monorepo with JWT auth, tenant context, and project READMEs.
Implement API security baseline (sys_user, JWT, audit fields, transactions, unique constraints) and Web real login with 401 handling. Document setup and development workflows in root, WmsLite.Api, and WmsLite.Web README files. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
fa1b286463
241 files changed
+31188
No files matched your search
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using WmsLite.Api.Enums;
|
||||
|
||||
namespace WmsLite.Api.Dtos.Inventory;
|
||||
|
||||
public class InventoryTransactionViewDto
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
||||
public string TenantId { get; set; } = string.Empty;
|
||||
|
||||
public string OwnerCode { get; set; } = string.Empty;
|
||||
|
||||
public long InventoryId { get; set; }
|
||||
|
||||
public InventoryMovementType MovementType { get; set; }
|
||||
|
||||
public InventoryStatus InventoryStatus { get; set; }
|
||||
|
||||
public string? BizNo { get; set; }
|
||||
|
||||
public decimal BeforeQty { get; set; }
|
||||
|
||||
public decimal AfterQty { get; set; }
|
||||
|
||||
public decimal BeforePendingInboundQty { get; set; }
|
||||
|
||||
public decimal AfterPendingInboundQty { get; set; }
|
||||
|
||||
public decimal BeforePendingOutboundQty { get; set; }
|
||||
|
||||
public decimal AfterPendingOutboundQty { get; set; }
|
||||
|
||||
public decimal BeforeFrozenQty { get; set; }
|
||||
|
||||
public decimal AfterFrozenQty { get; set; }
|
||||
|
||||
public decimal ChangeQty { get; set; }
|
||||
|
||||
/// <summary>流水快照:物料编码(追溯)。</summary>
|
||||
public string? MaterialCode { get; set; }
|
||||
|
||||
/// <summary>流水快照:容器编码(追溯)。</summary>
|
||||
public string? ContainerCode { get; set; }
|
||||
|
||||
/// <summary>流水快照:仓库编码。</summary>
|
||||
public string WarehouseCode { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>流水快照:库区编码。</summary>
|
||||
public string AreaCode { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>流水快照:分区编码。</summary>
|
||||
public string ZoneCode { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>流水快照:库位编码(追溯)。</summary>
|
||||
public string? LocationCode { get; set; }
|
||||
|
||||
public Dictionary<string, object>? Attrs { get; set; }
|
||||
|
||||
public DateTime? CreateTime { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user