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.
38 lines
1.1 KiB
38 lines
1.1 KiB
using System; |
|
using ErsatzTV.Application.MediaCollections; |
|
using ErsatzTV.Application.Television; |
|
using ErsatzTV.Core.Domain; |
|
|
|
namespace ErsatzTV.Application.ProgramSchedules |
|
{ |
|
public record ProgramScheduleItemDurationViewModel : ProgramScheduleItemViewModel |
|
{ |
|
public ProgramScheduleItemDurationViewModel( |
|
int id, |
|
int index, |
|
StartType startType, |
|
TimeSpan? startTime, |
|
ProgramScheduleItemCollectionType collectionType, |
|
MediaCollectionViewModel mediaCollection, |
|
TelevisionShowViewModel televisionShow, |
|
TelevisionSeasonViewModel televisionSeason, |
|
TimeSpan playoutDuration, |
|
bool offlineTail) : base( |
|
id, |
|
index, |
|
startType, |
|
startTime, |
|
PlayoutMode.Duration, |
|
collectionType, |
|
mediaCollection, |
|
televisionShow, |
|
televisionSeason) |
|
{ |
|
PlayoutDuration = playoutDuration; |
|
OfflineTail = offlineTail; |
|
} |
|
|
|
public TimeSpan PlayoutDuration { get; } |
|
public bool OfflineTail { get; } |
|
} |
|
}
|
|
|