using System;
using Microsoft.Extensions.Logging;
namespace MediaBrowser.Model.Activity
{
///
/// An activity log entry.
///
public class ActivityLogEntry
{
///
/// Initializes a new instance of the class.
///
/// The name.
/// The type.
/// The user id.
public ActivityLogEntry(string name, string type, Guid userId)
{
Name = name;
Type = type;
UserId = userId;
}
///
/// Gets or sets the identifier.
///
/// The identifier.
public long Id { get; set; }
///
/// Gets or sets the name.
///
/// The name.
public string Name { get; set; }
///
/// Gets or sets the overview.
///
/// The overview.
public string? Overview { get; set; }
///
/// Gets or sets the short overview.
///
/// The short overview.
public string? ShortOverview { get; set; }
///
/// Gets or sets the type.
///
/// The type.
public string Type { get; set; }
///
/// Gets or sets the item identifier.
///
/// The item identifier.
public string? ItemId { get; set; }
///
/// Gets or sets the date.
///
/// The date.
public DateTime Date { get; set; }
///
/// Gets or sets the user identifier.
///
/// The user identifier.
public Guid UserId { get; set; }
///
/// Gets or sets the user primary image tag.
///
/// The user primary image tag.
[Obsolete("UserPrimaryImageTag is not used.")]
public string? UserPrimaryImageTag { get; set; }
///
/// Gets or sets the log severity.
///
/// The log severity.
public LogLevel Severity { get; set; }
}
}