'respository'
This commit is contained in:
1 parent
fa1b286463
commit
38ecbf82e5
41 files changed
+67
-120
No files matched your search
@@ -5,7 +5,7 @@ using WmsLite.Api.Enums;
|
||||
|
||||
namespace WmsLite.Api.Dtos.Orders;
|
||||
|
||||
public abstract class OrderSaveRequestBase : TenantOwnerRequest
|
||||
public abstract class OrderSaveRequestBase
|
||||
{
|
||||
[Required]
|
||||
[StringLength(128)]
|
||||
@@ -31,7 +31,7 @@ public abstract class OrderPagedQueryBase : BasePagedQuery
|
||||
public OrderStatus? OrderStatus { get; set; }
|
||||
}
|
||||
|
||||
public class OrderActionRequest : TenantOwnerRequest
|
||||
public class OrderActionRequest
|
||||
{
|
||||
[Range(1, long.MaxValue)]
|
||||
public long Id { get; set; }
|
||||
@@ -123,8 +123,8 @@ public class StocktakeOrderLineRequest : InventoryOrderLineRequest
|
||||
public decimal CountedQty { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>入库单新建:单号后端生成,无单头扩展 JSON。</summary>
|
||||
public class InboundOrderCreateRequest : TenantOwnerRequest
|
||||
/// <summary>?????????????????? JSON?</summary>
|
||||
public class InboundOrderCreateRequest
|
||||
{
|
||||
[StringLength(64)]
|
||||
public string? BizType { get; set; }
|
||||
@@ -159,7 +159,7 @@ public class InboundOrderLineSaveRequest
|
||||
public Dictionary<string, object>? Attrs { get; set; }
|
||||
}
|
||||
|
||||
public class InboundOrderLineConfirmRequest : TenantOwnerRequest
|
||||
public class InboundOrderLineConfirmRequest
|
||||
{
|
||||
[Required]
|
||||
public string LineId { get; set; } = string.Empty;
|
||||
@@ -171,11 +171,11 @@ public class InboundOrderLineConfirmRequest : TenantOwnerRequest
|
||||
[Range(typeof(decimal), "0.000001", "9999999999999999")]
|
||||
public decimal Qty { get; set; }
|
||||
|
||||
/// <summary>空容器行必填;物料行可选(绑定容器)。</summary>
|
||||
/// <summary>???????????????????</summary>
|
||||
[StringLength(64)]
|
||||
public string? ContainerCode { get; set; }
|
||||
|
||||
/// <summary>物料行可省略,以物料主数据单位写入库存;空容器行必填。</summary>
|
||||
/// <summary>???????????????????????????</summary>
|
||||
[StringLength(32)]
|
||||
public string? Unit { get; set; }
|
||||
}
|
||||
@@ -223,7 +223,7 @@ public class StocktakeOrderPagedQuery : OrderPagedQueryBase
|
||||
|
||||
public class OrderViewDto
|
||||
{
|
||||
/// <summary>雪花主键,用字符串避免 JSON number + 前端精度丢失。</summary>
|
||||
/// <summary>??????????? JSON number + ???????</summary>
|
||||
public string Id { get; set; } = string.Empty;
|
||||
|
||||
public string TenantId { get; set; } = string.Empty;
|
||||
|
||||
Reference in new issue
Block a user