Enhance channel management: add support for preferred weight multipliers and preferred hours in channel shows, update related data models and API endpoints, and implement validation for new properties. Refactor scheduling logic to utilize preferred hours for weight adjustments during show planning.
This commit is contained in:
+3
-2
@@ -4,7 +4,7 @@ using TeleWave.Domain.Broadcast;
|
||||
|
||||
namespace TeleWave.Application.Broadcast.Bumpers;
|
||||
|
||||
/// <summary>Обновить подблок: имя, режим текста, текст и правило показа.</summary>
|
||||
/// <summary>Обновить подблок: имя, режим текста, текст, правило показа и вес.</summary>
|
||||
public sealed record UpdateBumperTextVariantCommand(
|
||||
Guid ChannelId,
|
||||
Guid TemplateId,
|
||||
@@ -15,5 +15,6 @@ public sealed record UpdateBumperTextVariantCommand(
|
||||
string NextLabel,
|
||||
string Line1,
|
||||
string Line2,
|
||||
BumperTrigger Trigger
|
||||
BumperTrigger Trigger,
|
||||
int Weight
|
||||
) : ICommand<Result>;
|
||||
|
||||
Reference in New Issue
Block a user