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