admin/src/Oms.Application/Dtos/Channels/ServiceChannelPriceSaveInput.cs
2026-06-09 15:37:56 +08:00

70 lines
1.5 KiB
C#

using Oms.Domain.Shared.Enums;
namespace Oms.Application.Dtos.Channels;
/// <summary>
/// 服务渠道价格项保存入参。
/// </summary>
public class ServiceChannelPriceSaveInput
{
/// <summary>
/// 主键。
/// </summary>
public int? Id { get; set; }
/// <summary>
/// 服务渠道主键。
/// </summary>
public int ServiceChannelId { 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? ChargingTime { get; set; }
/// <summary>
/// 计费条件。
/// </summary>
public string? ChargingCondition { get; set; }
/// <summary>
/// 价格因子集合。
/// </summary>
public List<ChannelPriceFactorInput> Factors { get; set; } = [];
/// <summary>
/// 价格明细集合。
/// </summary>
public List<ChannelPriceDetailInput> Details { get; set; } = [];
}