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.
27 lines
755 B
27 lines
755 B
using ErsatzTV.Application.MediaCollections; |
|
using ErsatzTV.Core.Domain; |
|
|
|
namespace ErsatzTV.ViewModels; |
|
|
|
public class MultiCollectionSmartItemEditViewModel : MultiCollectionItemEditViewModel |
|
{ |
|
private SmartCollectionViewModel _smartCollection; |
|
|
|
public SmartCollectionViewModel SmartCollection |
|
{ |
|
get => _smartCollection; |
|
set |
|
{ |
|
_smartCollection = value; |
|
|
|
Collection = new MediaCollectionViewModel( |
|
ProgramScheduleItemCollectionType.SmartCollection, |
|
_smartCollection.Id, |
|
_smartCollection.Name, |
|
false, |
|
MediaItemState.Normal); |
|
} |
|
} |
|
|
|
public override MediaCollectionViewModel Collection { get; set; } |
|
}
|
|
|