admin/src/Oms.Domain/OrdersAggregate/Entities/OrderWeight.cs
zzh f66d567c49
All checks were successful
Build and Deploy / deploy (push) Successful in 1m24s
feat: 服务渠道独立计重,应付与揽收应付用渠道计费重
应收仍走销售产品计重;排货/重算应付/对账/揽收推费按渠道计重写入 PayableChargeableWeight,不改 ChargeableWeight。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-23 16:32:05 +08:00

35 lines
839 B
C#

using Oms.Domain.Shared;
using SqlSugar;
namespace Oms.Domain.OrdersAggregate.Entities;
[SugarTable("t_order_weight")]
public class OrderWeight : OmsAuditedEntity
{
public int OrderId { get; set; }
public string Type { get; set; } = string.Empty;
public decimal? Length { get; set; }
public decimal? Width { get; set; }
public decimal? Height { get; set; }
public decimal? ActualWeight { get; set; }
public decimal? VolumetricWeight { get; set; }
/// <summary>
/// 应收计费重(销售产品计重规则/进位)。
/// </summary>
public decimal? ChargeableWeight { get; set; }
/// <summary>
/// 应付计费重(服务渠道计重规则/进位)。
/// </summary>
public decimal? PayableChargeableWeight { get; set; }
public decimal? Cubic { get; set; }
}