mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Added CommandId to commands
This commit is contained in:
@@ -1,13 +1,22 @@
|
||||
using System;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.MediaFiles.Commands
|
||||
{
|
||||
public class CleanMediaFileDb : ICommand
|
||||
{
|
||||
public String CommandId { get; set; }
|
||||
public int SeriesId { get; private set; }
|
||||
|
||||
public CleanMediaFileDb()
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
}
|
||||
|
||||
public CleanMediaFileDb(int seriesId)
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
SeriesId = seriesId;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user