Support order detail/weight/declaration updates, receivable and payable recalculation, inbound scan order lookup, receive billing overwrite, and OrderOutput feeList for my-orders drawer. Co-authored-by: Cursor <cursoragent@cursor.com>
55 lines
1.1 KiB
C#
55 lines
1.1 KiB
C#
using System.ComponentModel.DataAnnotations;
|
||
|
||
namespace Oms.Application.Dtos.Orders;
|
||
|
||
/// <summary>
|
||
/// 订单件重尺编辑入参。
|
||
/// </summary>
|
||
public class OrderWeightUpdateInput
|
||
{
|
||
/// <summary>
|
||
/// 订单主键。
|
||
/// </summary>
|
||
[Required]
|
||
public int Id { get; set; }
|
||
|
||
/// <summary>
|
||
/// 件重尺行。
|
||
/// </summary>
|
||
[Required]
|
||
public List<OrderWeightItemInput> Weights { get; set; } = [];
|
||
}
|
||
|
||
/// <summary>
|
||
/// 单条件重尺编辑项。
|
||
/// </summary>
|
||
public class OrderWeightItemInput
|
||
{
|
||
/// <summary>
|
||
/// 类型:forecast/receive/ship/downstream。
|
||
/// </summary>
|
||
[Required]
|
||
[StringLength(16)]
|
||
public string Type { get; set; } = string.Empty;
|
||
|
||
/// <summary>
|
||
/// 长度(cm)。
|
||
/// </summary>
|
||
public decimal? Length { get; set; }
|
||
|
||
/// <summary>
|
||
/// 宽度(cm)。
|
||
/// </summary>
|
||
public decimal? Width { get; set; }
|
||
|
||
/// <summary>
|
||
/// 高度(cm)。
|
||
/// </summary>
|
||
public decimal? Height { get; set; }
|
||
|
||
/// <summary>
|
||
/// 实重(kg)。
|
||
/// </summary>
|
||
public decimal? ActualWeight { get; set; }
|
||
}
|