admin/src/Oms.Application/Dtos/Channels/ServiceChannelSaveInput.cs
zzh 8545e6c28c
All checks were successful
Build and Deploy / deploy (push) Successful in 1m21s
feat: 服务渠道支持黑名单区,排货命中跳过该渠道
合并迁移脚本含 BlacklistAreaId 与应付计重字段;规则发布钉包,LIVE 即时加载。

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

85 lines
1.8 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 Oms.Domain.Shared.Enums;
namespace Oms.Application.Dtos.Channels;
/// <summary>
/// 服务渠道保存入参。
/// </summary>
public class ServiceChannelSaveInput
{
/// <summary>
/// 主键。
/// </summary>
public int? Id { get; set; }
/// <summary>
/// 分组主键。
/// </summary>
public int? GroupId { get; set; }
/// <summary>
/// 渠道编码。
/// </summary>
public string ChannelCode { get; set; } = string.Empty;
/// <summary>
/// 渠道名称。
/// </summary>
public string ChannelName { get; set; } = string.Empty;
/// <summary>
/// 最小时间。
/// </summary>
public int? MinTime { get; set; }
/// <summary>
/// 最大时间。
/// </summary>
public int? MaxTime { get; set; }
/// <summary>
/// 预报类型。
/// </summary>
public string? ForecastType { get; set; }
/// <summary>
/// 预报编码。
/// </summary>
public string? ForecastCode { get; set; }
/// <summary>
/// 描述。
/// </summary>
public string? Description { get; set; }
/// <summary>
/// 偏远分区 KPI AreaId。
/// </summary>
public int? RemoteAreaId { get; set; }
/// <summary>
/// 黑名单分区 KPI AreaId。
/// </summary>
public int? BlacklistAreaId { get; set; }
/// <summary>
/// 计重规则 ID(应付)。
/// </summary>
public int? WeightRuleId { get; set; }
/// <summary>
/// 计重进位 ID(应付)。
/// </summary>
public int? WeightRoundingId { get; set; }
/// <summary>
/// 预处理脚本。
/// </summary>
public string? PreScript { get; set; }
/// <summary>
/// 是否启用。
/// </summary>
public EnableStatus IsActive { get; set; }
}