namespace Oms.Application.Dtos.Channels;
///
/// 单号规则出参。
///
public class DocNumberRuleOutput
{
/// 主键。
public int Id { get; set; }
/// 单据类型。
public string DocType { get; set; } = string.Empty;
/// 单据类型显示名。
public string DocTypeName { get; set; } = string.Empty;
/// 模式:Generate / Extract。
public string RuleMode { get; set; } = "Generate";
/// 模式显示名。
public string RuleModeName { get; set; } = string.Empty;
/// 规则名称。
public string RuleName { get; set; } = string.Empty;
/// 公式。
public string Formula { get; set; } = string.Empty;
/// 截取命中条件。
public string? MatchPattern { get; set; }
/// 销售产品编码。
public string? ProductCode { get; set; }
/// 渠道编码。
public string? ChannelCode { get; set; }
/// 国家二字码。
public string? CountryCode { get; set; }
/// 优先级。
public int Priority { get; set; }
/// 状态。
public byte Status { get; set; }
/// 备注。
public string? Remark { get; set; }
/// 创建时间。
public DateTime CreateTime { get; set; }
/// 更新时间。
public DateTime? UpdateTime { get; set; }
}