1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-29 02:57:15 +02:00
Sonarr/NzbDrone.Core/MediaFiles/Commands/RenameSeriesCommand.cs

23 lines
543 B
C#
Raw Normal View History

2013-08-28 03:51:54 +03:00
using System;
using NzbDrone.Common;
2013-07-19 08:23:04 +03:00
using NzbDrone.Common.Messaging;
namespace NzbDrone.Core.MediaFiles.Commands
{
public class RenameSeriesCommand : ICommand
{
2013-08-28 03:51:54 +03:00
public String CommandId { get; set; }
2013-07-19 08:23:04 +03:00
public int SeriesId { get; private set; }
2013-08-28 03:51:54 +03:00
public RenameSeriesCommand()
{
CommandId = HashUtil.GenerateCommandId();
}
2013-07-19 08:23:04 +03:00
public RenameSeriesCommand(int seriesId)
{
2013-08-28 03:51:54 +03:00
CommandId = HashUtil.GenerateCommandId();
2013-07-19 08:23:04 +03:00
SeriesId = seriesId;
}
}
}