mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
941 B
29 lines
941 B
using System; |
|
using ErsatzTV.Core; |
|
using ErsatzTV.Core.Domain; |
|
using LanguageExt; |
|
using MediatR; |
|
|
|
namespace ErsatzTV.Application.ProgramSchedules.Commands |
|
{ |
|
public record AddProgramScheduleItem( |
|
int ProgramScheduleId, |
|
StartType StartType, |
|
TimeSpan? StartTime, |
|
PlayoutMode PlayoutMode, |
|
ProgramScheduleItemCollectionType CollectionType, |
|
int? CollectionId, |
|
int? MultiCollectionId, |
|
int? SmartCollectionId, |
|
int? MediaItemId, |
|
PlaybackOrder PlaybackOrder, |
|
int? MultipleCount, |
|
TimeSpan? PlayoutDuration, |
|
TailMode TailMode, |
|
ProgramScheduleItemCollectionType TailCollectionType, |
|
int? TailCollectionId, |
|
int? TailMultiCollectionId, |
|
int? TailSmartCollectionId, |
|
int? TailMediaItemId, |
|
string CustomTitle) : IRequest<Either<BaseError, ProgramScheduleItemViewModel>>, IProgramScheduleItemRequest; |
|
}
|
|
|