admin/src/Oms.Application/Dtos/Channels/SalesProductPriceSaveInput.cs
zzh 5e26de6ff3 feat: remove ChargingTime and bill receivables by weight stage
Drop sell/buy price charging-time config; write receivable fees after forecast or receive chargeable weight, hook inbound billing, fix order list status filter, and add DB migration.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 16:24:53 +08:00

65 lines
1.4 KiB
C#

using Oms.Domain.Shared.Enums;
namespace Oms.Application.Dtos.Channels;
/// <summary>
/// 销售产品价格项保存入参。
/// </summary>
public class SalesProductPriceSaveInput
{
/// <summary>
/// 主键。
/// </summary>
public int? Id { get; set; }
/// <summary>
/// 销售产品主键。
/// </summary>
public int SalesProductId { get; set; }
/// <summary>
/// 序号。
/// </summary>
public int SerialNumber { get; set; }
/// <summary>
/// 状态。
/// </summary>
public EnableStatus Status { get; set; }
/// <summary>
/// 价格项名称。
/// </summary>
public string PriceName { get; set; } = string.Empty;
/// <summary>
/// 费用项目。
/// </summary>
public string CostItem { get; set; } = string.Empty;
/// <summary>
/// 计费单位。
/// </summary>
public string CostUnit { get; set; } = string.Empty;
/// <summary>
/// 币种。
/// </summary>
public string Currency { get; set; } = string.Empty;
/// <summary>
/// 计费条件。
/// </summary>
public string? ChargingCondition { get; set; }
/// <summary>
/// 价格因子集合。
/// </summary>
public List<ChannelPriceFactorInput> Factors { get; set; } = [];
/// <summary>
/// 价格明细集合。
/// </summary>
public List<ChannelPriceDetailInput> Details { get; set; } = [];
}