admin/src/Oms.Application/Dtos/Orders/OrderWeightUpdateInput.cs
zzh 82df5d1e79 feat(order): add order edit APIs, inbound lookup, and fee output
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>
2026-06-26 17:30:41 +08:00

55 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}