2013-08-27 17:51:54 -07:00
|
|
|
using System;
|
|
|
|
using NzbDrone.Common;
|
2013-07-18 22:23:04 -07:00
|
|
|
using NzbDrone.Common.Messaging;
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.MediaFiles.Commands
|
|
|
|
{
|
|
|
|
public class RenameSeasonCommand : ICommand
|
|
|
|
{
|
2013-08-30 20:08:19 -07:00
|
|
|
public int SeriesId { get; set; }
|
|
|
|
public int SeasonNumber { get; set; }
|
2013-07-18 22:23:04 -07:00
|
|
|
|
2013-08-30 20:08:19 -07:00
|
|
|
public String CommandId { get; private set; }
|
2013-08-27 17:51:54 -07:00
|
|
|
|
|
|
|
public RenameSeasonCommand()
|
|
|
|
{
|
|
|
|
CommandId = HashUtil.GenerateCommandId();
|
|
|
|
}
|
|
|
|
|
2013-07-18 22:23:04 -07:00
|
|
|
public RenameSeasonCommand(int seriesId, int seasonNumber)
|
|
|
|
{
|
2013-08-27 17:51:54 -07:00
|
|
|
CommandId = HashUtil.GenerateCommandId();
|
2013-07-18 22:23:04 -07:00
|
|
|
SeriesId = seriesId;
|
|
|
|
SeasonNumber = seasonNumber;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|